NsDepCop 1.7.0

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.3 or higher.

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

NsDepCop helps you to eliminate unintended or unnoticed code dependencies in your application.
           Add the NuGet package to your C# projects and specify the dependency rules in the config.nsdepcop files.
           The dependency analyzer will be run automatically on every build.
           See project site for details (https://github.com/realvizu/NsDepCop).

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 112,167 4/5/2025
2.5.0 156,222 1/3/2025
2.4.0 138,231 9/14/2024
2.3.0 541,119 7/11/2023
2.2.0 315,826 9/18/2022
2.1.0 4,219 7/10/2022
2.0.1 67,091 3/12/2022
2.0.0 430,597 6/13/2021
2.0.0-rc1 496 5/24/2021
1.11.0-beta2 755 5/11/2020
1.11.0-beta1 673 4/21/2020
1.10.1 25,419 2/2/2020
1.10.1-beta1 1,000 1/17/2020
1.9.0 42,901 3/15/2019
1.9.0-beta2 1,706 2/17/2019
1.9.0-beta1 776 2/3/2019
1.8.2 16,340 1/30/2019
1.8.2-beta1 726 1/13/2019
1.8.1 1,738 12/25/2018
1.8.1-beta1 1,011 8/15/2018
1.8.0 2,335 7/21/2018
1.8.0-beta1 1,423 6/12/2018
1.7.1 44,971 7/8/2017
1.7.0 7,784 7/2/2017
1.6.1 1,447 4/20/2017
1.6.0 2,864 3/24/2017
1.6.0-beta1 1,195 1/25/2017

New: C# 7 support.
           Note: if you don't need C# 7 support then use v1.6.1 which is faster.