Skip to content

Commit 1392c53

Browse files
committed
Updated docs with VS2019 support.
1 parent 36834e8 commit 1392c53

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

CHANGELOG.md

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

3+
## v1.10.0
4+
(04/2019)
5+
6+
- [x] New: Support Visual Studio 2019
7+
38
## v1.9.0
49
(03/2019)
510

Contribute.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## How to build the source
88
1. Prerequisites
9-
* Visual Studio 2017 (any edition)
9+
* Visual Studio 2017/2019 (any edition)
1010
* With workload: **Visual Studio extension development**
1111
1. [Download or clone the source](https://github.com/realvizu/NsDepCop)
1212
1. Open "source\NsDepCop.sln"

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,26 @@ What is this [**dependency control**](doc/DependencyControl.md) anyway?
1111
## Getting Started
1212

1313
1. Add the **NsDepCop NuGet package** to your C# projects: [![NuGet Package](https://img.shields.io/nuget/v/NsDepCop.svg)](https://nuget.org/packages/NsDepCop)
14-
1. A file called **config.nsdepcop** is automatically added to your project. Edit it and describe [**dependency rules**](doc/Help.md#dependency-rules).
15-
* If your project doesn't use the packages.config package manager format then you'll have to [add config.nsdepcop manually](doc/Troubleshooting.md#item4).
14+
1. Add a file called **config.nsdepcop**. Edit it and describe [**dependency rules**](doc/Help.md#dependency-rules).
15+
* For projects that use the old packages.config nuget format the file is automatically added.
1616
1. When you **build** the project, dependency violations will be reported in the build output just like compiler errors/warnings.
1717

1818
See the [**Help**](doc/Help.md) for details.
1919

2020
## Optional Stuff
2121

2222
* Install the **VSIX** (Visual Studio Extension) to get **instant** dependency check while editing the code.
23-
* For Visual Studio 2017: [![Visual Studio extension](https://img.shields.io/badge/Visual%20Studio%20Marketplace-NsDepCop%20VS2017-green.svg)](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopVS2017-CodedependencycheckerforC)
23+
* For Visual Studio 2017/2019: [![Visual Studio extension](https://img.shields.io/badge/Visual%20Studio%20Marketplace-NsDepCop%20VS2017-green.svg)](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopVS2017-CodedependencycheckerforC)
2424
* For Visual Studio 2015: [![Visual Studio extension](https://img.shields.io/badge/Visual%20Studio%20Marketplace-NsDepCop%20VS2015-green.svg)](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCop-NamespacedependencycheckertoolforC)
2525

2626
* Install the **NsDepCop Config XML Schema Support** for Visual Studio to get validation and IntelliSense while editing the config.nsdepcop files.
27-
* For Visual Studio 2017: [![Visual Studio extension](https://img.shields.io/badge/Visual%20Studio%20Marketplace-NsDepCop%20Config%20XML%20Schema%20Support-green.svg)](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopConfigXMLSchemaSupport)
27+
* For Visual Studio 2017/2019: [![Visual Studio extension](https://img.shields.io/badge/Visual%20Studio%20Marketplace-NsDepCop%20Config%20XML%20Schema%20Support-green.svg)](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopConfigXMLSchemaSupport)
2828
* For Visual Studio 2015: see the instructions in [Help](doc/Help.md#config-xml-schema-support-in-visual-studio).
2929

3030
## Versions
3131
* See the [**Change Log**](CHANGELOG.md) for version history.
3232
* See the [**Upgrade instructions**](CHANGELOG.md#upgrading) if upgrading from versions prior to v1.6.0.
3333
* See the [**Milestones**](https://github.com/realvizu/NsDepCop/milestones) for planned releases.
34-
* See the [**Old Versions**](doc/Versions.md).
3534

3635
## Feedback
3736
* Please use the [**Issue Tracker**](https://github.com/realvizu/NsDepCop/issues) to record bugs and feature requests.

doc/Help.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ See the XSD schema of config.nsdepcop [here](../source/NsDepCop.ConfigSchema/NsD
222222
## Config XML schema support in Visual Studio
223223
Add NsDepCop config XML schema to the Visual Studio schema cache to get validation and IntelliSense when editing NsDepCop config files.
224224

225-
* For Visual Studio 2017 install this extension: [![Visual Studio extension](https://img.shields.io/badge/Visual%20Studio%20Marketplace-NsDepCop%20Config%20XML%20Schema%20Support-green.svg)](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopConfigXMLSchemaSupport)
225+
* For Visual Studio 2017/2019 install this extension: [![Visual Studio extension](https://img.shields.io/badge/Visual%20Studio%20Marketplace-NsDepCop%20Config%20XML%20Schema%20Support-green.svg)](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopConfigXMLSchemaSupport)
226226
* For Visual Studio 2015:
227227
* Use [NsDepCop v1.6.1 installer](https://github.com/realvizu/NsDepCop/releases/download/v1.6.1/NsDepCop-1.6.1.msi) and choose "Config XML schema support in VS".
228228
* Or just copy the following files into the VS2015 schema cache folder (vs2015installdir/Xml/Schemas):

doc/Troubleshooting.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ To fix it:
2424
## NsDepCop NuGet package is not adding config.nsdepcop file to the project
2525
If the project uses the **PackageReference** package manager format then content files are not added to the project.
2626
Workaround:
27-
* Use the **packages.config** package manager format.
28-
* Or **add** config.nsdepcop to the project **manually**.
27+
* **Add** a file called **config.nsdepcop** and fill it in using the examples in [Help](Help.md).
28+
* Install the NsDepCop Visual Studio Extension [![Visual Studio extension](https://img.shields.io/badge/Visual%20Studio%20Marketplace-NsDepCop%20VS2017-green.svg)](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopVS2017-CodedependencycheckerforC) and then:
2929
* Right-click on project >> Add >> New Item... >> NsDepCop Config File
30-
* Or simply add a file called config.nsdepcop and fill it in using the examples in [Help](Help.md).
3130

3231
<a name="item3"></a>
3332
## Anonymous types raise false alarms
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
using System.Reflection;
22

3-
[assembly: AssemblyTitle("NsDepCop_VS2017")]
4-
[assembly: AssemblyDescription("NsDepCop Visual Studio Extension for VS2017")]
3+
[assembly: AssemblyTitle("NsDepCop_VS2017-VS2019")]
4+
[assembly: AssemblyDescription("NsDepCop Visual Studio Extension for VS2017/VS2019")]

source/NsDepCop.VisualStudioIntegration.Vs2017/source.extension.vsixmanifest

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
44
<Identity Id="092ebf8a-d116-4b7f-a200-b49159a7e4d1" Version="1.0.0" Language="en-US" Publisher="Codartis" />
5-
<DisplayName>NsDepCop VS2017 - Code dependency checker for C#</DisplayName>
5+
<DisplayName>NsDepCop - Code dependency checker tool for C#</DisplayName>
66
<Description xml:space="preserve">Static code analysis tool that helps to enforce namespace and type dependency rules in C# projects by highlighting disallowed type usages in the code editor. You can also use this tool in your build process by adding the NsDepCop NuGet package to your projects.</Description>
77
<MoreInfo>https://github.com/realvizu/NsDepCop</MoreInfo>
88
<License>Resources\LICENSE</License>

0 commit comments

Comments
 (0)