Skip to content
| Marketplace
Sign in
Visual Studio>Tools>NsDepCop VS2015 - Code dependency checker for C#
NsDepCop VS2015 - Code dependency checker for C#

NsDepCop VS2015 - Code dependency checker for C#

Codartis

|
2,076 installs
| (1) | Free
Static code analysis tool that helps to enforce namespace and type dependency rules in C# projects by highlighting disallowed type usages in the code editor. You can also use this tool in your build process by adding the NsDepCop NuGet package to your projects.
Download

NsDepCop is a static code analysis tool that helps you to enforce namespace dependency rules in your C# projects.

  • No more unplanned or unnoticed dependencies in your system.
  • What is this dependency control anyway?
  • This package is for Visual Studio 2015.
  • You can find the Visual Studio 2017/2019 version here: VSIX package

Getting Started

  1. Add the NsDepCop NuGet package to your C# projects.
  2. Add a file called config.nsdepcop. Edit it and describe dependency rules.
    • For projects that use the old packages.config nuget format the file is automatically added.
  3. When you build the project, dependency violations will be reported in the build output just like compiler errors/warnings.

See the Help for details.

Versions

  • See the Change Log for version history.
  • See the Upgrade instructions if upgrading from versions prior to v1.6.0.
  • See the Milestones for planned releases.
  • See the Old Versions.

Feedback

  • Please use the Issue Tracker to record bugs and feature requests.
  • Or tweet me Follow on Titter

More Info

  • Diagnostics Reference
  • Troubleshooting
  • How to contribute?

Thanks to

  • Roslyn for the best parser API.
  • ReSharper for the free licence of this amazing tool.

License

  • GPL-2.0
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft