Skip to content

Releases: realvizu/NsDepCop

NsDepCop 1.6.1

20 Apr 13:57
Compare
Choose a tag to compare
  • Fix: Type without a name caused exception in analyzer.

NsDepCop 1.6.0

24 Mar 14:04
Compare
Choose a tag to compare
  • New: NuGet package.
    • Enables per-project MSBuild integration.
    • Enables zero install on build machine.
  • New: Multi-level config file.
    • Use the InheritanceDepth config attribute to specify the number of parent folder levels to merge config files from.
    • Use it to get rid of redundant rules and settings in nsdepcop.config files and move them to a common place, eg. to solution level or repo root level.
  • Changed: MSI installer modified.
    • Option (default on): config.nsdepcop XML schema support updated.
    • Option (default off): Machine-wide MSBuild integration. Not recommended any more, use the NuGet (per-project) distribution instead.
    • Removed option: Visual Studio 2015 integration. Use the VSIX package directly instead.
  • Fixed:
    • Types in enum and delegate declarations were not analyzed.
    • Constructed generic, array and pointer types are now analyzed recursively.
    • Source and metadata file load errors are now handled gracefully.
  • Changed: Roslyn version updated to 1.3.2.
  • Changed: Removed NRefactory as a parser choice.

NsDepCop 1.5 (for VS2015)

21 Jul 09:48
Compare
Choose a tag to compare

Changes:

  • New: use the VisibleMembers element to fine-tune the allowed dependencies at the type level.
  • New: added XML schema for nsdepcop.config so Visual Studio can validate its syntax and provide IntelliSense.
  • Fix: adding an nsdepcop.config file to a project now works for all C# projects (incl. portable lib).
  • Updated to Roslyn 1.2.2

Which installer to choose: MSI or VSIX?

If a previous version is installed then you have to remove it first.

NsDepCop 1.4 (for VS2015)

21 Jul 09:57
Compare
Choose a tag to compare

Changes:

  • Updated to Roslyn 1.0 and VS2015.
  • New: Info messages' level can be configured to suppress/enable them in the MSBuild output. See FAQ.
  • New: ChildCanDependOnParentImplicitly option. See Dependency Rules.
  • Fix: MSBuild return code was success even if an error was detected.
  • Fix: Extension methods' declaring type was not checked.
  • New: Icons (tadaaa! :)

Which installer to choose: MSI or VSIX?