VS2015: warning MSB3884: Could not find rule set file

前端 未结 8 840
故里飘歌
故里飘歌 2021-01-31 01:36

After upgrading my WinForms VS2013 project to VS2015, I started seeing the MSB3884 \"Could not find rule set file\" warning.

A Google search turned up one MSDN article,

8条回答
  •  走了就别回头了
    2021-01-31 01:38

    I've just had the same problem after upgrading from VS2013 to VS2015.

    My solution was:

    1. On the project properties go to the Code Analysis section.
    2. Select the Browse option on the list of rule sets.
    3. Browse to the VS2015 rule sets folder. C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets
    4. Pick a rule set. The default used by new projects is: MinimumRecommendedRules.ruleset
    5. Rebuild. Check the warning has gone.

提交回复
热议问题