VS2015 MSB3884警告:找不到规则集文件 [英] VS2015 MSB3884 warning: Could not find rule set file
本文介绍了VS2015 MSB3884警告:找不到规则集文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在VS2015中导入旧解决方案时,收到大量警告 MSB3884警告:构建解决方案时找不到规则集文件.. .
When I imported an old solution in VS2015 I receive loads of warnings MSB3884 warning: Could not find rule set file .. when building the solution.
Q 如何摆脱这个烦人的问题?
Q How can I get rid of this annoying problem?
推荐答案
您需要编辑 .csproj 文件并找到对CodeAnalysisRuleSetDirectories
的引用.将路径中的Visual Studio引用版本更改为VS2015的版本(也称为14),然后重新加载项目. (对我有用.)
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.)
或者删除
<CodeAnalysisRuleSetDirectories>
<CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>
我找到了解决方案 查看全文