VS2015: warning MSB3884: Could not find rule set file

前端 未结 8 842
故里飘歌
故里飘歌 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 02:00

    I hit this warning after migrating from VS 2013 to VS 2015 as well. In my case the error was Could not find rule set file "AllRules.ruleset". The fix for me was to change the VisualStudioVersion setting in the .csproj file to be 14.0 so that it looks in the correct rule set folder:

    After that and a rebuild, the warning was resolved. Much easier.

    0 讨论(0)
  • 2021-01-31 02:00

    These binary analyzers are now deprecated link.

    I am using VS 2019 and my solution was to edit the projects files and remove all lines related to the CodeAnalysis, in all PropertyGroups:

    Before:

    After:

    *To edit the .vbproj or .csproj in Visual Studio you need to unload the project.

    -Perform a right-click in solution and then unload the project.

    -Perform a right-click again and go to edit 'fileName'

    I didn't try but this solution must work in VS 2015, VS 2017 too.

    0 讨论(0)
提交回复
热议问题