Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include default .ruleset file in package #2924

Closed
alanisaac opened this issue Mar 31, 2019 · 0 comments
Closed

Include default .ruleset file in package #2924

alanisaac opened this issue Mar 31, 2019 · 0 comments
Assignees

Comments

@alanisaac
Copy link

The official documentation for Analyzer rulesets says:

Predefined rule sets are included with some NuGet analyzer packages...

After you install a NuGet analyzer package, locate the predefined rule set in its rulesets directory, for example %USERPROFILE%\.nuget\packages\microsoft.codequality.analyzers<version>\rulesets. From there, you can drag and drop, or copy and paste, one or more of the rulesets to your Visual Studio project in Solution Explorer.

If you download the fxcopanalyzers package, for example, it has a ton of documented ruleset files in the /ruleset directory that are very helpful for getting started.

Would it be possible to package at least the default .ruleset file along with the NuGet package(s) in the manner above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants