Popularity
2.8
Growing
Activity
0.8
-
113
10
21

Programming language: C#
License: GNU General Public License v3.0 only
Tags: Csharp     Dependency     Static     Code     Code Analysis and Metrics     C     Analysis     Tool     Namespace     Dependencies     Enforce     Rule    
Latest version: v1.11.0

NsDepCop alternatives and similar packages

Based on the "Code Analysis and Metrics" category.
Alternatively, view NsDepCop alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of NsDepCop or a related project?

Add another 'Code Analysis and Metrics' Package

README

NsDepCop - Namespace Dependency Checker Tool for C#

Build Status

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

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

What is this [dependency control](doc/DependencyControl.md) anyway?

Getting Started

  1. Add the NsDepCop NuGet package to your C# projects: NuGet Package
  2. Add a file called config.nsdepcop. Edit it and describe [dependency rules](doc/Help.md#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](doc/Help.md) for details.

Optional Stuff

  • Install the VSIX (Visual Studio Extension) to get instant dependency check while editing the code.

    • For Visual Studio 2017/2019: Visual Studio extension
    • For Visual Studio 2015: Visual Studio extension
  • Install the NsDepCop Config XML Schema Support for Visual Studio to get validation and IntelliSense while editing the config.nsdepcop files.

    • For Visual Studio 2017/2019: Visual Studio extension
    • For Visual Studio 2015: see the instructions in [Help](doc/Help.md#config-xml-schema-support-in-visual-studio).

Versions

  • See the [Change Log](CHANGELOG.md) for version history.
  • See the [Upgrade instructions](CHANGELOG.md#upgrading) if upgrading from versions prior to v1.6.0.
  • See the Milestones for planned releases.

Feedback

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

More Info

  • [Diagnostics Reference](doc/Diagnostics.md)
  • [Troubleshooting](doc/Troubleshooting.md)
  • [How to contribute?](Contribute.md)

Thanks to

License

  • [GPL-2.0](LICENSE)


*Note that all licence references and agreements mentioned in the NsDepCop README section above are relevant to that project's source code only.