Add code analysis ruleset through nuget package

后端 未结 3 644
南旧
南旧 2020-12-09 12:52

I\'m trying to build a NuGet package that adds our company\'s code analysis dictionary automatically and updatable.

The rule set is added in the content folder and n

3条回答
  •  春和景丽
    2020-12-09 13:11

    You can also do it manually by using the following steps.

    • Right click project
    • Go to properties
    • Go to the dropdown [Run this rule set]
    • Select the [Browse..] option
    • Choose your company ruleset which you may place at a predefined location in source code.
    • Click Open on the Open window
    • Save the project file.

    You may repeat the step for other projects in the solution.

提交回复
热议问题