Skip to content

NsDepCop 2.0.0

Latest
Compare
Choose a tag to compare
@realvizu realvizu released this 13 Jun 07:53
· 34 commits to master since this release

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.