Cannot load custom ruleset. #1065
Unanswered
felipeccruz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
At my work we use roslynator CLI v0.1.0.4 . We have some analyzer dlls and a couple of rulesets. We use the command
Roslynator.exe path/to/project.csproj --analyzer-assemblies path/to/analyzers CodeAnalysisRuleSet="path/to/myruleset.ruleset"for analyzing our projects.Now, i'm trying to update the CLI to v0.5.0.0 but it seems that this version does not support the command for loading rulesets anymore and i cannot find any other way to load it.
I tried adding a Directory.build.props in the target project root folder:
And it didn't work.
I tried using
--ruleset path/to/myruleset.rulesetbut it's not supported.I tried using the
CodeAnalysisRuleSet="path/to/myruleset.ruleset"but it's not supported either.Can you help me? Please 🙌
I just want to
Roslynator.exe analyze path/to/my/project.csproj -a path/to/analyzers -r path/to/rulesetsBeta Was this translation helpful? Give feedback.
All reactions