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,
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.
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.