NsDepCop 2.5.0

dotnet add package NsDepCop --version 2.5.0
                    
NuGet\Install-Package NsDepCop -Version 2.5.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.5.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.5.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.5.0
                    
#r "nuget: NsDepCop, 2.5.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.5.0
                    
Install NsDepCop as a Cake Addin
#tool nuget:?package=NsDepCop&version=2.5.0
                    
Install NsDepCop as a Cake Tool

NsDepCop is a static code analysis tool that enforces namespace and assembly 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 (2)

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

Repository Stars
realvizu/NsDepCop
NsDepCop is a static code analysis tool that enforces namespace and assembly dependency rules in C# projects.
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.5.0 121,374 1/3/2025
2.4.0 124,439 9/14/2024
2.3.0 497,400 7/11/2023
2.2.0 312,270 9/18/2022
2.1.0 4,188 7/10/2022
2.0.1 64,524 3/12/2022
2.0.0 428,422 6/13/2021
2.0.0-rc1 461 5/24/2021
1.11.0-beta2 708 5/11/2020
1.11.0-beta1 625 4/21/2020
1.10.1 25,236 2/2/2020
1.10.1-beta1 933 1/17/2020
1.9.0 42,808 3/15/2019
1.9.0-beta2 1,656 2/17/2019
1.9.0-beta1 728 2/3/2019
1.8.2 16,287 1/30/2019
1.8.2-beta1 677 1/13/2019
1.8.1 1,683 12/25/2018
1.8.1-beta1 948 8/15/2018
1.8.0 2,235 7/21/2018
1.8.0-beta1 1,279 6/12/2018
1.7.1 44,871 7/8/2017
1.7.0 7,338 7/2/2017
1.6.1 1,346 4/20/2017
1.6.0 2,693 3/24/2017
1.6.0-beta1 1,094 1/25/2017

- New: Added assembly dependency checking.