NsDepCop 3.0.0
dotnet add package NsDepCop --version 3.0.0
NuGet\Install-Package NsDepCop -Version 3.0.0
<PackageReference Include="NsDepCop" Version="3.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="NsDepCop" Version="3.0.0" />
<PackageReference Include="NsDepCop"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add NsDepCop --version 3.0.0
#r "nuget: NsDepCop, 3.0.0"
#:package NsDepCop@3.0.0
#addin nuget:?package=NsDepCop&version=3.0.0
#tool nuget:?package=NsDepCop&version=3.0.0
NsDepCop is a static code analysis tool that enforces namespace and assembly 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 |
|---|---|---|
| 3.0.0 | 469 | 6/19/2026 |
| 2.7.0 | 343,551 | 12/7/2025 |
| 2.6.0 | 424,164 | 4/5/2025 |
| 2.5.0 | 253,163 | 1/3/2025 |
| 2.4.0 | 184,553 | 9/14/2024 |
| 2.3.0 | 670,608 | 7/11/2023 |
| 2.2.0 | 323,257 | 9/18/2022 |
| 2.1.0 | 4,391 | 7/10/2022 |
| 2.0.1 | 76,455 | 3/12/2022 |
| 2.0.0 | 436,221 | 6/13/2021 |
| 2.0.0-rc1 | 633 | 5/24/2021 |
| 1.11.0-beta2 | 912 | 5/11/2020 |
| 1.11.0-beta1 | 825 | 4/21/2020 |
- Added support for C# 14 extension members.
- BREAKING: The minimum supported build toolchain is now Visual Studio 2022 17.0 / .NET 6 SDK. The analyzer ships Roslyn-version-specific builds (roslyn4.0 and roslyn5.0); hosts older than VS 2022 17.0 / .NET 6 SDK (e.g. VS 2019) no longer load the analyzer. Stay on 2.7.x for those.