Skip to content

Commit c79081b

Browse files
committed
Setting version to 1.9.0. Updating docs.
1 parent 22a34ab commit c79081b

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NsDepCop Change Log
22

3-
## v1.9.0 (beta)
4-
(02/2019 ?)
3+
## v1.9.0
4+
(03/2019)
55

66
- [x] New: Support incremental build - don't run the tool if there was no change in the source/config files.
77
- [x] New: Global turn off switch - DisableNsDepCop environment variable.

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ See the [**Help**](doc/Help.md) for details.
4545
## Thanks to
4646
* [Roslyn](https://github.com/dotnet/roslyn) for the best parser API.
4747
* [ReSharper](https://www.jetbrains.com/resharper/) for the free licence of this amazing tool.
48+
* [DotNet.Glob](https://github.com/dazinator/DotNet.Glob) for the globbing library.
4849

4950
## License
5051
* [GPL-2.0](LICENSE)

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ image: Visual Studio 2017
22

33
environment:
44
shortversion: '1.9.0'
5-
informationalversion: '1.9.0-beta2'
5+
informationalversion: '1.9.0'
66

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

doc/Help.md

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* [Config inheritance](#config-inheritance)
66
* [Dealing with a high number of dependency issues](#dealing-with-a-high-number-of-dependency-issues)
77
* [Controlling verbosity](#controlling-verbosity)
8+
* [Disabling the tool](#disabling-the-tool)
89
* [Config XML schema](#config-xml-schema)
910
* [Config XML schema support in Visual Studio](#config-xml-schema-support-in-visual-studio)
1011
* [NsDepCop ServiceHost](#nsdepcop-servicehost)
@@ -14,6 +15,7 @@
1415

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

1820
## Dependency rules
1921

@@ -49,6 +51,7 @@ Attribute | Values | Description
4951
**MaxIssueCountSeverity** | Info, **Warning**, Error | This is the severity of the issue of reaching MaxIssueCount.
5052
**AutoLowerMaxIssueCount** | true, **false** | If set to true then each successful build yielding fewer issues than MaxIssueCount sets MaxIssueCount to the current number of issues.
5153
**InheritanceDepth** | int (>=0), default: **0** | Sets the number of parent folder levels to inherit config from. 0 means no inheritance.
54+
**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`
5255

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

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

214+
## Disabling the tool
215+
You can disable NsDepCop by setting the DisableNsDepCop environment variable to 'true' or '1'.
216+
217+
E.g.: `set DisableNsDepCop=1`
218+
211219
## Config XML schema
212220
See the XSD schema of config.nsdepcop [here](../source/NsDepCop.ConfigSchema/NsDepCopConfig.xsd).
213221

0 commit comments

Comments
 (0)