Releases: realvizu/NsDepCop
Releases · realvizu/NsDepCop
All new versions are released on nuget.org
All new versions are released on: https://www.nuget.org/packages/NsDepCop
NsDepCop 2.0.0
The big change in this version is that the implementation changed from MSBuild task + Visual Studio Extension to a standard Roslyn analyzer.
- NsDepCop must be added to a project as a NuGet package.
- Appears in Solution Explorer: project / Dependencies / Analyzers / NsDepCop.Analyzer
- Issue severities can be configured that same way as other analyzers (use Visual Studio or .editorconfig files).
- Works both at build time and inside Visual Studio editor.
- Requires Visual Studio 2019 (16.10.0 or later).
- Supports .NET Core / .NET 5 / etc. projects too.
- Uses Roslyn 3.9.0.
Stuff that was removed:
- No need for the NsDepCop Visual Studio Extension any more.
- No need for the out-of-process service host any more.
- Dropped support for VS 2015/2017. For those, use NsDepCop v1.11.0.
- Config attributes no longer supported (ignored): CodeIssueKind, MaxIssueCountSeverity, InfoImportance, AnalyzerServiceCallRetryTimeSpans.
Other info:
- AutoLowerMaxIssueCount feature is temporarily not supported.
NsDepCop 1.10.1
- Fix: #51 - RemotingException when using different NsDepCop NuGet and VSIX version.
NsDepCop 1.10.0
- New: Support Visual Studio 2019
NsDepCop 1.9.0
- New: Support incremental build - don't run the tool if there was no change in the source/config files.
- New: Global turn off switch - DisableNsDepCop environment variable.
- New: Excluding files from analysis - ExcludedFiles attribute in config.nsdepcop.
NsDepCop 1.8.2
- Fix: #43 (for real this time) - RemotingException when path contains space.
NsDepCop 1.8.1
- Fix: #43 - RemotingException when path contains space.
NsDepCop 1.8.0
- Fix: Enhancements in launching the out-of-process service host (configurable retry intervals, allow access for any user).
- New: MaxIssueCountSeverity - enables breaking the build when a threshold number of dependency violations has been reached.
- New: AutoLowerMaxIssueCount - automatically lower MaxIssueCount to encourage cleaning up dependency problems and prohibit introducing new ones.
- New: Supports C# up to 7.3.
- The Visual Studio Extension (VSIX) requires 15.7.4 or higher.
NsDepCop 1.7.1
- Performance enhancement when run by MSBuild.
- The analyzer keeps running in its own process to avoid repeated creation cost. Shuts down with parent process.
NsDepCop 1.7.0
- New: C# 7 support.
- New: Visual Studio 2017 support.
- Removed: MSI installer.
- Config XML schema support is now available as a Visual Studio Extension (only for VS2017).
- Global MSBuild-integration is discontinued. Please use per-project MSBuild integration via the NuGet package.