NsDepCop 2.6.0

dotnet add package NsDepCop --version 2.6.0
                    
NuGet\Install-Package NsDepCop -Version 2.6.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.6.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.6.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.6.0
                    
#r "nuget: NsDepCop, 2.6.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.
#:package NsDepCop@2.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NsDepCop&version=2.6.0
                    
Install as a Cake Addin
#tool nuget:?package=NsDepCop&version=2.6.0
                    
Install 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 (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 123,691 4/5/2025
2.5.0 158,361 1/3/2025
2.4.0 139,769 9/14/2024
2.3.0 545,341 7/11/2023
2.2.0 316,092 9/18/2022
2.1.0 4,229 7/10/2022
2.0.1 67,690 3/12/2022
2.0.0 430,852 6/13/2021
2.0.0-rc1 505 5/24/2021
1.11.0-beta2 764 5/11/2020
1.11.0-beta1 682 4/21/2020
1.10.1 25,462 2/2/2020
1.10.1-beta1 1,013 1/17/2020
1.9.0 42,921 3/15/2019
1.9.0-beta2 1,715 2/17/2019
1.9.0-beta1 785 2/3/2019
1.8.2 16,349 1/30/2019
1.8.2-beta1 737 1/13/2019
1.8.1 1,747 12/25/2018
1.8.1-beta1 1,024 8/15/2018
1.8.0 2,353 7/21/2018
1.8.0-beta1 1,450 6/12/2018
1.7.1 44,992 7/8/2017
1.7.0 7,845 7/2/2017
1.6.1 1,465 4/20/2017
1.6.0 2,887 3/24/2017
1.6.0-beta1 1,213 1/25/2017

- New: Regex patterns for assemblies and namespaces.