This extension for Visual Studio 2022 allows you to track changes in dependencies between projects and map these dependencies to the rules specified in a special configuration file. If the link changes don't match the specified settings, the extension issues an error about incorrect links and prevents the build from completing.
The purpose of this tool is to control the relationships in solutions and ensure that they comply with the standard view adopted in your company. Implemented as part of the build administration.
Link on docs
Features
- analysis of the current status of projects (dependencies / TargetFramework versions) for its compliance with the rules stated in the config files
- tracking changes in interproject relationships since the current commit
- notifying the user of detected inconsistencies and displaying into VS22 Error List panel information about specific "problems"
- recording of the current status of projects and detected "problems" in the format of a tabular (XLSX) and graphical report (Graph Dependency / HTML)
- RU/EN full localization (including docs)
- console version that is designed to work in environments without an installed IDE (implements 1-st and 3rd features, can be integrated into CI/CD pipline as auto-test)
To learn more about the RefDepGuard features, see USER_GUIDE!
Used stack
- Visual Studio SDK
- MSBuild API
- NETStandard.Library
- Microsoft.Extensions.Localization
- Microsoft.Office.Interop.Excel
- Newtonsoft.JSON
- HtmlAgilityPack
- OneOf
- Memaid API
Requirements
- Extension Currently works for Visual Studio 2022+. There was an attempt to make it working on Visual Stuidio 2019 but it looks like it's not working(
- Console Currently works for Windows 10+ PCs
License
RefDepGuard uses MIT License
Screenshots













