NsDepCop 2.0.0-rc1
See the version list below for details.
dotnet add package NsDepCop --version 2.0.0-rc1
NuGet\Install-Package NsDepCop -Version 2.0.0-rc1
<PackageReference Include="NsDepCop" Version="2.0.0-rc1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="NsDepCop" Version="2.0.0-rc1" />
<PackageReference Include="NsDepCop"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add NsDepCop --version 2.0.0-rc1
#r "nuget: NsDepCop, 2.0.0-rc1"
#:package NsDepCop@2.0.0-rc1
#addin nuget:?package=NsDepCop&version=2.0.0-rc1&prerelease
#tool nuget:?package=NsDepCop&version=2.0.0-rc1&prerelease
Static code analysis tool for enforcing namespace-based type dependency rules in C# projects.
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 (3)
Showing the top 3 popular GitHub repositories that depend on NsDepCop:
| Repository | Stars |
|---|---|
|
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
|
|
|
realvizu/QuickDiagram
Code visualization tool for C# to quickly explore, navigate and document source code structure and relationships. Integrates into Visual Studio.
|
|
|
ardalis/RiverBooks
Modular Monolith sample for Dometrain
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.7.0 | 320,366 | 12/7/2025 |
| 2.6.0 | 419,839 | 4/5/2025 |
| 2.5.0 | 249,446 | 1/3/2025 |
| 2.4.0 | 180,984 | 9/14/2024 |
| 2.3.0 | 661,183 | 7/11/2023 |
| 2.2.0 | 322,871 | 9/18/2022 |
| 2.1.0 | 4,384 | 7/10/2022 |
| 2.0.1 | 76,339 | 3/12/2022 |
| 2.0.0 | 435,907 | 6/13/2021 |
| 2.0.0-rc1 | 633 | 5/24/2021 |
| 1.11.0-beta2 | 910 | 5/11/2020 |
| 1.11.0-beta1 | 825 | 4/21/2020 |
| 1.10.1 | 25,907 | 2/2/2020 |
- 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.