Open Ronyta opened 5 years ago
I am not 100% sure but i think only solution for that is to share ruleset between projects, like move it to upper directory and reference same ruleset file from referenced projects.
Thank you for answering!
But it did not solve....
I set up a Ruleset file with the same contents as TargetProject in TestProject. The specific source on TestProject side is as the rule, but the source on TargetProject side is the default rule.
The path has been changed to handle one Ruleset file.
<CodeAnalysisRuleSet>../TargetProject/custom.ruleset</CodeAnalysisRuleSet>
However, this was the same as share rulesets, and I did not solve it.
I am not very good at English, so I apologize in advance.
env
Example
TargetProject has this method.
=>problem console displays
IDE0060
....
I added this ruleset to TargetProject.
=>
IDE0060
hides from problem console....
Next, I created TestProject.
=>When TestProject is displayed on VSCode,
IDE0060
is displayed on the problem console.Is there a way to reflect the rule set in the reference project or not analyze the reference project?