All Versions
Latest Version
Avg Release Cycle
116 days
Latest Release

Changelog History
Page 1

  • v2.0.0 Changes


    The big change in this version is that the implementation changed from MSBuild task + Visual Studio Extension to a standard Roslyn analyzer.

    • [x] NsDepCop must be added to a project as a NuGet package.
    • [x] Appears in Solution Explorer: project / Dependencies / Analyzers / NsDepCop.Analyzer
    • [x] Issue severities can be configured that same way as other analyzers (use Visual Studio or .editorconfig files).
    • [x] Works both at build time and inside Visual Studio editor.
    • [x] Requires Visual Studio 2019 (16.10.0 or later).
    • [x] Supports .NET Core / .NET 5 / etc. projects too.
    • [x] Uses Roslyn 3.9.0.

    ๐Ÿšš Stuff that was removed:

    • [x] No need for the NsDepCop Visual Studio Extension any more.
    • [x] No need for the out-of-process service host any more.
    • [x] Dropped support for VS 2015/2017. For those, use NsDepCop v1.11.0.
    • [x] Config attributes no longer supported (ignored): CodeIssueKind, MaxIssueCountSeverity, InfoImportance, AnalyzerServiceCallRetryTimeSpans.

    Other info:

    • [x] AutoLowerMaxIssueCount feature is temporarily not supported.
  • v1.11.0 Changes


    • [x] New: Disable/force NsDepCop with MSBuild property.
  • v1.10.1 Changes

    February 02, 2020
    • Fix: #51 - RemotingException when using different NsDepCop NuGet and VSIX version.
  • v1.10.0 Changes

    April 10, 2019
    • ๐Ÿ‘ New: Support Visual Studio 2019
  • v1.9.0 Changes

    March 15, 2019
    • ๐Ÿ— 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.
  • v1.8.2 Changes

    March 15, 2019
    • Fix: #43 (for real this time) - RemotingException when path contains space.
  • v1.8.1 Changes

    December 25, 2018
    • Fix: #43 - RemotingException when path contains space.
  • v1.8.0 Changes

    July 22, 2018
    • ๐Ÿ”ง 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.
  • v1.7.1 Changes

    July 08, 2017
    • ๐ŸŽ Performance enhancement when run by MSBuild.
      • The analyzer keeps running in its own process to avoid repeated creation cost. Shuts down with parent process.
  • v1.7.0 Changes

    July 02, 2017
    • ๐Ÿ‘ 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.