Quantcast
Channel: NsDepCop Wiki Rss Feed
Viewing all articles
Browse latest Browse all 60

Updated Wiki: Diagnostics

$
0
0

This project has been moved to GitHub.
For the latest documentation please follow this link:
https://github.com/realvizu/NsDepCop


 Diagnostics Reference

NSDEPCOP01

TitleIllegal namespace reference.
SeverityWarning (default, determined by CodeIssueKind attribute in the config file)
ExplanationThe 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.
To doChange the namespace dependency configuration (in config.nsdepcop file) or change your code/design to avoid this namespace reference.

NSDEPCOP02

TitleToo many issues, analysis was stopped.
SeverityWarning
ExplanationThe analysis stops after reporting 100 issues to avoid flooding your build log.
To doCorrect the reported issues and run the build again.
CommentThis diagnostic works at build time only (not in Visual Studio code editor).

NSDEPCOP03

TitleNo config file found, analysis skipped.
SeverityInfo
ExplanationIf there's no config.nsdepcop file next to the csproj file then NsDepCop does not perform analysis.
To doNone, this is just an informational message.
CommentThis diagnostic works at build time only (not in Visual Studio code editor).

NSDEPCOP04

TitleAnalysis is disabled in the nsdepcop config file.
SeverityInfo
ExplanationThere is a config.nsdepcop file next to the csproj file, but it contains IsEnabled="False".
To doNone, this is just an informational message.
CommentThis diagnostic works at build time only (not in Visual Studio code editor).

NSDEPCOP05

TitleError loading NsDepCop config.
SeverityError
ExplanationThere 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.
To doMake sure that the file can be read by the user running the build or Visual Studio and make sure that its content is correct.

Viewing all articles
Browse latest Browse all 60

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>