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.
NsDepCop is a static code analysis tool that helps you to enforce namespace dependency rules in C# projects.
What is this dependency control anyway? And why automate it?
Or check out this step-by-step tutorial video by plainionist.
To get validation and IntelliSense while editing the config.nsdepcop files, add the config XML schema to the Visual Studio XML schema cache. See details here.
See the Help for details.
The big change in v2.0 is that the implementation changed from MSBuild task + Visual Studio Extension to a standard Roslyn analyzer.
Please note that the AutoLowerMaxIssueCount feature is temporarily not supported. Do not yet upgrade to v2.0 if you're using that.