realvizu / Nsdepcop
Licence: gpl-2.0
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.
Stars: ✭ 114
Programming Languages
csharp
926 projects
Projects that are alternatives of or similar to Nsdepcop
freshli-lib
A tool for collecting historical metrics about a project's dependencies
Stars: ✭ 12 (-89.47%)
Mutual labels: static-code-analysis, dependencies
Sharpen
Visual Studio extension that intelligently introduces new C# features into your existing codebase
Stars: ✭ 351 (+207.89%)
Mutual labels: visual-studio-extension, static-code-analysis
Ruby detective
🔎 Investigating your ruby code dependencies
Stars: ✭ 102 (-10.53%)
Mutual labels: dependencies
Npgsql.fsharp.analyzer
F# analyzer that provides embedded SQL syntax analysis, type-checking for parameters and result sets and nullable column detection when writing queries using Npgsql.FSharp.
Stars: ✭ 103 (-9.65%)
Mutual labels: static-code-analysis
Caliburn.metro
A library that combines MahApps.Metro with Caliburn.Micro for Metro UI styled WPF applications.
Stars: ✭ 112 (-1.75%)
Mutual labels: nuget
Multilingualplugin
Multilingual Plugin for Xamarin and Windows
Stars: ✭ 99 (-13.16%)
Mutual labels: nuget
Yeelightapi
C# API (.Net) to control Xiaomi Yeelight devices
Stars: ✭ 106 (-7.02%)
Mutual labels: nuget
Import Linter
Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.
Stars: ✭ 105 (-7.89%)
Mutual labels: dependencies
Drek
A static-code-analysis tool for performing security-focused code reviews. It enables an auditor to swiftly map the attack-surface of a large application, with an emphasis on identifying development anti-patterns and footguns.
Stars: ✭ 103 (-9.65%)
Mutual labels: static-code-analysis
Rdf.sh
A multi-tool shell script for doing Semantic Web jobs on the command line.
Stars: ✭ 109 (-4.39%)
Mutual labels: namespace
Binancedotnet
Official C# Wrapper for the Binance exchange API, with REST and WebSocket endpoints
Stars: ✭ 102 (-10.53%)
Mutual labels: nuget
Lambda Converters
Strongly-typed lambda expressions as value converters, data template selectors, and validation rules
Stars: ✭ 99 (-13.16%)
Mutual labels: nuget
Rdflib
RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
Stars: ✭ 1,584 (+1289.47%)
Mutual labels: namespace
Sweep
Reduce the disk usage of your projects by removing dependencies & builds
Stars: ✭ 105 (-7.89%)
Mutual labels: dependencies
Phpstan
PHP Static Analysis Tool - discover bugs in your code without running it!
Stars: ✭ 10,534 (+9140.35%)
Mutual labels: static-code-analysis
NsDepCop - Namespace Dependency Checker Tool for C#
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 anyway?
Getting Started
- Add the NsDepCop NuGet package to your C# projects:
- 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.
- When you build the project, dependency violations will be reported in the build output just like compiler errors/warnings.
See the Help for details.
Optional Stuff
-
Install the VSIX (Visual Studio Extension) to get instant dependency check while editing the code.
-
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:
- For Visual Studio 2015: see the instructions in Help.
- For Visual Studio 2017/2019:
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.
Feedback
- Please use the Issue Tracker to record bugs and feature requests.
- Or find me on twitter
More Info
Thanks to
- Roslyn for the best parser API.
- ReSharper for the free licence of this amazing tool.
- DotNet.Glob for the globbing library.
License
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].