Unrecognized option '/ruleset' in VS2015 during building

I have strange error during building my solution. Yesterday everything was fine, but today I get this error

Picture of error from error list:

Copy/paste error from output:

fatal error CS2007: Unrecognized option: '/ruleset:"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\MinimumRecommendedRules.ruleset"'

Solution contains many projects, but during building all solution, only one project show this error. Does anyone can help me?

P.S. Changing file with ruleset did not help, I had the same error (but with other file in error message). But actually, I do not want change that ruleset file.

Answers


As seen in the following link, try opening it in VS2013, turn off the ruleset, then open in 2015, and turn it back on.

src: https://social.msdn.microsoft.com/Forums/vstudio/en-US/974f66c6-debf-4a51-8463-00624e4dafa4/vs-2015-building-2013-project-could-not-find-rule-set-file-minimumrecommendedrulesruleset?forum=msbuild


Need Your Help

Show only fields from table1 different than table2 (Sql server 2008)

sql-server-2008 except

I get a file every day that may or may not have changes from the previous day, I copy the file I receive and call it table2, the next day I receive the file I load it in table1 but now I want to se...