Skip to content

NsDepCop is a static code analysis tool that helps to enforce namespace dependency rules in C# projects. No more unplanned or unnoticed dependencies in your system.

License

Notifications You must be signed in to change notification settings

realvizu/NsDepCop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NsDepCop - Namespace Dependency Checker Tool for C#

Build Status

NsDepCop is a static code analysis tool that enforces dependency rules in C# projects, based on namespaces.

  • It runs as part of the build process and reports any dependency problems.
  • No more unplanned or unnoticed dependencies in your system.

What is this dependency control anyway? And why should you automate it?

Getting Started

  1. Add the NsDepCop NuGet package to your C# projects: NuGet Package
  2. Add a text file named 'config.nsdepcop' to your project, then edit it to define your dependency rules.
  3. Dependency violations will be underlined in the code editor and reported at build time just like compiler errors/warnings.

See the Help for details.

Or check out this step-by-step tutorial video by plainionist.

Versions

Feedback

More Info

Thanks to

License

Other Tools

About

NsDepCop is a static code analysis tool that helps to enforce namespace dependency rules in C# projects. No more unplanned or unnoticed dependencies in your system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages