You need to edit the .csproj file and find the reference to the CodeAnalysisRuleSetDirectories
. Change the version of the Visual Studio reference in the path to the one that is for VS2015 (a.k.a 14) and reload the project. (That worked for me.)
Alternatively delete all references of
<CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>
I found the solution here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…