|
4 | 4 |
|
5 | 5 | Title|Illegal namespace reference.
|
6 | 6 | :-|:-
|
7 |
| -Severity|Set by CodeIssueKind attribute in the config file. (Default: Warning) |
8 |
| -Explanation|The designated symbol in the source code implies a namespace reference which is not allowed by the current namespace dependency configuration. That is, the symbol is used in a type in namespace A and references a type in namespace B but A->B dependency is not allowed. |
9 |
| -To Do|Change the namespace dependency configuration in the config.nsdepcop file or change your code/design to avoid this namespace reference. |
| 7 | +Default Severity|Warning |
| 8 | +Explanation|The designated type cannot reference the other type because their namespaces cannot depend on each other according to the current rules. |
| 9 | +To Do|Change the dependency rules in the 'config.nsdepcop' file or change your design to avoid this namespace dependency. |
10 | 10 |
|
11 | 11 | ### NSDEPCOP02
|
12 | 12 |
|
13 |
| -Title|Too many issues, analysis was stopped. |
| 13 | +Title|Too many dependency issues, analysis was stopped. |
14 | 14 | :-|:-
|
15 |
| -Severity|Warning |
16 |
| -Explanation|The analysis stops after reporting a certain number of issues (default: 100) to avoid flooding your build log. |
17 |
| -To Do|Correct the reported issues and run the build again. Or set the MaxIssueCount attribute in your config.nsdepcop to a higher number. |
| 15 | +Default Severity|Warning |
| 16 | +Explanation|The number of dependency issues in this compilation has exceeded the configured maximum value. |
| 17 | +To Do|Correct the reported issues and run the build again or set the MaxIssueCount attribute in your 'config.nsdepcop' file to a higher number. |
18 | 18 |
|
19 | 19 | ### NSDEPCOP03
|
20 | 20 |
|
21 | 21 | Title|No config file found, analysis skipped.
|
22 | 22 | :-|:-
|
23 |
| -Severity|Info |
24 |
| -Explanation|If there's no config.nsdepcop file next to the C# project file then NsDepCop does not perform analysis. |
| 23 | +Default Severity|Info |
| 24 | +Explanation|This analyzer requires that you add a file called 'config.nsdepcop' to your project with build action 'C# analyzer additional file'. |
25 | 25 | To Do|None, this is just an informational message.
|
26 | 26 |
|
27 | 27 | ### NSDEPCOP04
|
28 | 28 |
|
29 |
| -Title|Analysis is disabled in the nsdepcop config file. |
| 29 | +Title|Analysis is disabled in the config file. |
30 | 30 | :-|:-
|
31 |
| -Severity|Info |
32 |
| -Explanation|There is a config.nsdepcop file next to the C# project file, but it contains IsEnabled="False". |
| 31 | +Default Severity|Info |
| 32 | +Explanation|The IsEnabled attribute was set to false in this project's 'config.nsdepcop' file, so the analyzer skips this project. |
33 | 33 | To Do|None, this is just an informational message.
|
34 | 34 |
|
35 | 35 | ### NSDEPCOP05
|
36 | 36 |
|
37 |
| -Title|Error loading NsDepCop config. |
| 37 | +Title|Error loading config. |
38 | 38 | :-|:-
|
39 |
| -Severity|Error |
40 |
| -Explanation|There was an error while loading the config.nsdepcop file. Some possible reasons: malformed content, file permission or locking problem. The diagnostic contains the actual exception message. |
| 39 | +Default Severity|Error |
| 40 | +Explanation|There was an error while loading the 'config.nsdepcop' file, see the message for details. Some common reasons: malformed content, file permission or file locking problem. |
41 | 41 | To Do|Make sure that the file can be read by the user running the build or Visual Studio and make sure that its content is correct.
|
42 | 42 |
|
43 | 43 | ### NSDEPCOP06
|
44 | 44 |
|
45 | 45 | Title|Analysis is disabled with environment variable.
|
46 | 46 | :-|:-
|
47 |
| -Severity|Info |
48 |
| -Explanation|If environment variable DisableNsDepCop is set to True or 1 then analysis is skipped. |
| 47 | +Default Severity|Info |
| 48 | +Explanation|If the 'DisableNsDepCop' environment variable is set to 'True' or '1' then all analysis is skipped. |
49 | 49 | To Do|None, this is just an informational message.
|
0 commit comments