NsDepCop is a static analysis tool that lets you enforce namespace dependency rules in your C# projects.
No more unplanned or unnoticed dependencies in your system.
News:
How to use it?
Follow me on twitter @realvizu
No more unplanned or unnoticed dependencies in your system.
- MSBuild integration
- Reports issues at each build. Use it on your build server.
- Visual Studio integration
- Highlights issues in the code editor as you type the code.
News:
- v1.5 released that supports the VisibleMembers config element to fine-tune dependencies at the type level.
- Source code moved to GitHub.
- Add VisibleMembers support to Allowed rules.
- NuGet deployment.
How to use it?
- What is this Dependency Control anyway?
- Let's see an Example
- Check out the Getting Started guide
- See the Dependency Rules reference
- For more details see the Documentation
NsDepCop | MSBuild | Visual Studio | Roslyn |
---|---|---|---|
NsDepCop 1.5 | MSBuild 14.0 | VS2015 | Roslyn 1.2.2 |
NsDepCop 1.4 | MSBuild 14.0 | VS2015 | Roslyn 1.0.0 |
NsDepCop 1.3 | MSBuild 12.0 | VS2013 | Roslyn End User Preview March/April 2014 |
NsDepCop 1.1 | MSBuild 4.0 | VS2012 | Roslyn September 2012 CTP |
Follow me on twitter @realvizu