Skip to content

Commit

Permalink
Setting version to 1.9.0. Updating docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
realvizu committed Mar 15, 2019
1 parent 22a34ab commit c79081b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# NsDepCop Change Log

## v1.9.0 (beta)
(02/2019 ?)
## v1.9.0
(03/2019)

- [x] New: Support incremental build - don't run the tool if there was no change in the source/config files.
- [x] New: Global turn off switch - DisableNsDepCop environment variable.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ See the [**Help**](doc/Help.md) for details.
## Thanks to
* [Roslyn](https://github.com/dotnet/roslyn) for the best parser API.
* [ReSharper](https://www.jetbrains.com/resharper/) for the free licence of this amazing tool.
* [DotNet.Glob](https://github.com/dazinator/DotNet.Glob) for the globbing library.

## License
* [GPL-2.0](LICENSE)
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ image: Visual Studio 2017

environment:
shortversion: '1.9.0'
informationalversion: '1.9.0-beta2'
informationalversion: '1.9.0'

version: '$(shortversion).{build}'

Expand Down
8 changes: 8 additions & 0 deletions doc/Help.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [Config inheritance](#config-inheritance)
* [Dealing with a high number of dependency issues](#dealing-with-a-high-number-of-dependency-issues)
* [Controlling verbosity](#controlling-verbosity)
* [Disabling the tool](#disabling-the-tool)
* [Config XML schema](#config-xml-schema)
* [Config XML schema support in Visual Studio](#config-xml-schema-support-in-visual-studio)
* [NsDepCop ServiceHost](#nsdepcop-servicehost)
Expand All @@ -14,6 +15,7 @@

* Projects with a **csproj** project file are supported.
* Projects with an **xproj** project file are not supported.
* .Net Core is not supported ([yet](https://github.com/realvizu/NsDepCop/issues/34))

## Dependency rules

Expand Down Expand Up @@ -49,6 +51,7 @@ Attribute | Values | Description
**MaxIssueCountSeverity** | Info, **Warning**, Error | This is the severity of the issue of reaching MaxIssueCount.
**AutoLowerMaxIssueCount** | true, **false** | If set to true then each successful build yielding fewer issues than MaxIssueCount sets MaxIssueCount to the current number of issues.
**InheritanceDepth** | int (>=0), default: **0** | Sets the number of parent folder levels to inherit config from. 0 means no inheritance.
**ExcludedFiles** | Comma separated list of [file patterns](https://github.com/dazinator/DotNet.Glob) | Defines which source files should be excluded from the analysis. Paths are relative to the config file's folder. E.g.: `**/*.g.cs,TestFiles/*.cs`

### Whitelisting
* The **`<Allowed From="N1" To="N2"/>`** config element defines that **N1** namespace can depend on **N2** namespace.
Expand Down Expand Up @@ -208,6 +211,11 @@ Advanced settings:

E.g.: if you want NsDepCop info messages to show up at minimal MSBuild verbosity then set `InfoImportance` to High.

## Disabling the tool
You can disable NsDepCop by setting the DisableNsDepCop environment variable to 'true' or '1'.

E.g.: `set DisableNsDepCop=1`

## Config XML schema
See the XSD schema of config.nsdepcop [here](../source/NsDepCop.ConfigSchema/NsDepCopConfig.xsd).

Expand Down

0 comments on commit c79081b

Please sign in to comment.