NsDepCop 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NsDepCop --version 2.0.0
                    
NuGet\Install-Package NsDepCop -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NsDepCop" Version="2.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NsDepCop" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="NsDepCop">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NsDepCop --version 2.0.0
                    
#r "nuget: NsDepCop, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=NsDepCop&version=2.0.0
                    
Install NsDepCop as a Cake Addin
#tool nuget:?package=NsDepCop&version=2.0.0
                    
Install NsDepCop as a Cake Tool

Static code analysis tool for enforcing namespace-based type dependency rules in C# projects.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NsDepCop:

Repository Stars
realvizu/QuickDiagram
Code visualization tool for C# to quickly explore, navigate and document source code structure and relationships. Integrates into Visual Studio.
Version Downloads Last updated
2.6.0 52,146 4/5/2025
2.5.0 147,027 1/3/2025
2.4.0 132,790 9/14/2024
2.3.0 524,174 7/11/2023
2.2.0 314,723 9/18/2022
2.1.0 4,201 7/10/2022
2.0.1 66,128 3/12/2022
2.0.0 429,807 6/13/2021
2.0.0-rc1 474 5/24/2021
1.11.0-beta2 725 5/11/2020
1.11.0-beta1 642 4/21/2020
1.10.1 25,306 2/2/2020
1.10.1-beta1 953 1/17/2020
1.9.0 42,862 3/15/2019
1.9.0-beta2 1,676 2/17/2019
1.9.0-beta1 749 2/3/2019
1.8.2 16,308 1/30/2019
1.8.2-beta1 697 1/13/2019
1.8.1 1,709 12/25/2018
1.8.1-beta1 970 8/15/2018
1.8.0 2,280 7/21/2018
1.8.0-beta1 1,336 6/12/2018
1.7.1 44,915 7/8/2017
1.7.0 7,593 7/2/2017
1.6.1 1,387 4/20/2017
1.6.0 2,783 3/24/2017
1.6.0-beta1 1,136 1/25/2017

- Implementation changed from MSBuild task to standard Roslyn analyzer.
- Works both at build time and inside Visual Studio editor.
- No need for an additional Visual Studio extension any more.
- No need for the out-of-process service host any more.
- Supports .NET Core / .NET 5 / etc. projects too.
- Dropped support for VS 2015/2017.
- AutoLowerMaxIssueCount feature is temporarily not supported.