{"id":13414976,"url":"https://github.com/realvizu/NsDepCop","last_synced_at":"2025-03-14T22:32:38.950Z","repository":{"id":38549342,"uuid":"63841392","full_name":"realvizu/NsDepCop","owner":"realvizu","description":"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.","archived":false,"fork":false,"pushed_at":"2024-09-14T14:57:27.000Z","size":17439,"stargazers_count":193,"open_issues_count":13,"forks_count":30,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-09-15T15:13:33.618Z","etag":null,"topics":["csharp","dependencies","dependency-analysis","dotnet","msbuild","namespace","nuget","static-code-analysis","visual-studio-extension"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realvizu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-07-21T06:01:11.000Z","updated_at":"2024-09-14T16:27:54.000Z","dependencies_parsed_at":"2023-01-19T19:33:36.777Z","dependency_job_id":"23ab3003-35fd-445b-9c20-3f07ac3274a1","html_url":"https://github.com/realvizu/NsDepCop","commit_stats":{"total_commits":358,"total_committers":6,"mean_commits":"59.666666666666664","dds":"0.14525139664804465","last_synced_commit":"92705a33f51036f11ce93e406b2ab48a1ade1a14"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realvizu%2FNsDepCop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realvizu%2FNsDepCop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realvizu%2FNsDepCop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realvizu%2FNsDepCop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realvizu","download_url":"https://codeload.github.com/realvizu/NsDepCop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221513939,"owners_count":16835746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dependencies","dependency-analysis","dotnet","msbuild","namespace","nuget","static-code-analysis","visual-studio-extension"],"created_at":"2024-07-30T21:00:40.685Z","updated_at":"2025-03-14T22:32:38.944Z","avatar_url":"https://github.com/realvizu.png","language":"C#","readme":"# NsDepCop - Namespace and Assembly Dependency Checker Tool for C# #\n\n[![Build Status](https://ci.appveyor.com/api/projects/status/dm7q6tdwxv4xv85r?svg=true)](https://ci.appveyor.com/project/realvizu/nsdepcop)\n\nNsDepCop is a static code analysis tool that enforces namespace and assembly dependency rules in C# projects.\n* It runs as part of the build process and reports any dependency problems.\n* No more unplanned or unnoticed dependencies in your system.\n\nWhat is this [**dependency control**](doc/DependencyControl.md) anyway? And [**why should you automate it**](https://www.plainionist.net/Dependency-Governance-DotNet/)?\n\n## Getting Started\n\n1. Add the [**NsDepCop NuGet package**](https://nuget.org/packages/NsDepCop) to your C# projects: [![NuGet Package](https://img.shields.io/nuget/v/NsDepCop.svg)](https://nuget.org/packages/NsDepCop)\n1. Add a text file named **'config.nsdepcop'** to your project, then edit it to define your [**dependency rules**](doc/Help.md#dependency-rules). \n1. Dependency violations will be underlined in the code editor and reported at build time just like compiler errors/warnings.\n\nSee the [**Help**](doc/Help.md) for details.\n\nOr check out this step-by-step [**tutorial video**](https://www.youtube.com/watch?v=rkU7Hx20Dc0) by [plainionist](https://github.com/plainionist).\n\n## Versions\n* See the [**Change Log**](CHANGELOG.md) for version history.\n\n## Feedback\n* Use the [**Issue Tracker**](https://github.com/realvizu/NsDepCop/issues) to submit bugs and feature requests.\n* Use the [**Discussions forum**](https://github.com/realvizu/NsDepCop/discussions) for questions.\n\n## More Info\n* [Diagnostics Reference](doc/Diagnostics.md)\n* [Configuring XML schema support for config.nsdepcop files](doc/Help.md#config-xml-schema-support-in-visual-studio)\n* [Troubleshooting](doc/Troubleshooting.md)\n* [How to contribute?](Contribute.md)\n\n## Thanks to \n* [Roslyn](https://github.com/dotnet/roslyn) for the amazing parser API.\n* [DotNet.Glob](https://github.com/dazinator/DotNet.Glob) for the globbing library.\n\n## License\n* [GPL-2.0](LICENSE)\n\n## Other Tools\n* Check out my other project: [Codartis Diagram Tool](https://codartis.com/), a code visualization tool for C#.\n","funding_links":[],"categories":["Code Analysis and Metrics","代码分析和度量"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealvizu%2FNsDepCop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealvizu%2FNsDepCop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealvizu%2FNsDepCop/lists"}