You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-5
Original file line number
Diff line number
Diff line change
@@ -11,27 +11,26 @@ What is this [**dependency control**](doc/DependencyControl.md) anyway?
11
11
## Getting Started
12
12
13
13
1. Add the **NsDepCop NuGet package** to your C# projects: [](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.
16
16
1. When you **build** the project, dependency violations will be reported in the build output just like compiler errors/warnings.
17
17
18
18
See the [**Help**](doc/Help.md) for details.
19
19
20
20
## Optional Stuff
21
21
22
22
* Install the **VSIX** (Visual Studio Extension) to get **instant** dependency check while editing the code.
23
-
* For Visual Studio 2017: [](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopVS2017-CodedependencycheckerforC)
23
+
* For Visual Studio 2017/2019: [](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopVS2017-CodedependencycheckerforC)
24
24
* For Visual Studio 2015: [](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCop-NamespacedependencycheckertoolforC)
25
25
26
26
* 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: [](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopConfigXMLSchemaSupport)
27
+
* For Visual Studio 2017/2019: [](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopConfigXMLSchemaSupport)
28
28
* For Visual Studio 2015: see the instructions in [Help](doc/Help.md#config-xml-schema-support-in-visual-studio).
29
29
30
30
## Versions
31
31
* See the [**Change Log**](CHANGELOG.md) for version history.
32
32
* See the [**Upgrade instructions**](CHANGELOG.md#upgrading) if upgrading from versions prior to v1.6.0.
33
33
* See the [**Milestones**](https://github.com/realvizu/NsDepCop/milestones) for planned releases.
34
-
* See the [**Old Versions**](doc/Versions.md).
35
34
36
35
## Feedback
37
36
* Please use the [**Issue Tracker**](https://github.com/realvizu/NsDepCop/issues) to record bugs and feature requests.
Copy file name to clipboardexpand all lines: doc/Help.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -222,7 +222,7 @@ See the XSD schema of config.nsdepcop [here](../source/NsDepCop.ConfigSchema/NsD
222
222
## Config XML schema support in Visual Studio
223
223
Add NsDepCop config XML schema to the Visual Studio schema cache to get validation and IntelliSense when editing NsDepCop config files.
224
224
225
-
* For Visual Studio 2017 install this extension: [](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopConfigXMLSchemaSupport)
225
+
* For Visual Studio 2017/2019 install this extension: [](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopConfigXMLSchemaSupport)
226
226
* For Visual Studio 2015:
227
227
* 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".
228
228
* Or just copy the following files into the VS2015 schema cache folder (vs2015installdir/Xml/Schemas):
Copy file name to clipboardexpand all lines: doc/Troubleshooting.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,9 @@ To fix it:
24
24
## NsDepCop NuGet package is not adding config.nsdepcop file to the project
25
25
If the project uses the **PackageReference** package manager format then content files are not added to the project.
26
26
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 [](https://marketplace.visualstudio.com/items?itemName=FerencVizkeleti.NsDepCopVS2017-CodedependencycheckerforC) and then:
29
29
* 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).
<DisplayName>NsDepCop VS2017 - Code dependency checker for C#</DisplayName>
5
+
<DisplayName>NsDepCop - Code dependency checker tool for C#</DisplayName>
6
6
<Descriptionxml: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>
0 commit comments