C# 警告 warning MSB3884: 无法找到规则集文件“MinimumRecommendedRules.ruleset”

06-29 1627阅读

警告 warning MSB3884: 无法找到规则集文件“MinimumRecommendedRules.ruleset”C# 警告 warning MSB3884: 无法找到规则集文件“MinimumRecommendedRules.ruleset”

C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.CSharp.CurrentVersion.targets(129,9): warning MSB3884: 无法找到规则集文件“MinimumRecommendedRules.ruleset”。

原因:

1.无法找到规则集文件

2.项目工程警告

解决方案:删除项目文件中的对应引用

删除对应引用

MinimumRecommendedRules.ruleset
;D:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
true
;D:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
true

  
    Debug
    AnyCPU
    8.0.30703
    2.0
    {BF7DB2E4-0FD0-4B2C-8E8E-5D05BA78F311}
    Library
    Properties
    cvCore
    cvCore
    v4.7.2
    512
    
    
    
    
    
    
    
    
    
  
  
    true
    full
    false
    bin\Debug\
    DEBUG;TRACE
    prompt
    4
    false
  
  
    pdbonly
    true
    bin\Release\
    TRACE
    prompt
    4
    x86
    false
  
  
    true
    ..\Bin\Debug\
    DEBUG;TRACE
    full
    x86
    bin\Debug\cvCore.dll.CodeAnalysisLog.xml
    true
    GlobalSuppressions.cs
    prompt
    MinimumRecommendedRules.ruleset
    ;D:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
    true
    ;D:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
    true
    false
  
  
    ..\Bin\Release\
    TRACE
    true
    pdbonly
    x86
    bin\Release\cvCore.dll.CodeAnalysisLog.xml
    true
    GlobalSuppressions.cs
    prompt
    MinimumRecommendedRules.ruleset
    ;D:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
    false
    ;D:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
    false
    false
  
  
    true
    ..\Bin\Debug\
    DEBUG;TRACE
    full
    x64
    7.3
    prompt
    false
  
  
    bin\x64\Release\
    TRACE
    true
    pdbonly
    x64
    7.3
    prompt
    false
  
  
    
      ..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll
    
    
    
    
    
    
    
    
    
    
    
  
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      UserControl
    
    
      ChartShowCtl.cs
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  
  
    
      {A9C40C28-EC9F-481A-B2C5-F13996E3EFB5}
      cvBase
    
    
      {18B3400C-E74F-415D-9382-0E5681601DA8}
      cvComm
    
    
      {A9927434-F623-4730-B425-3619C350AF18}
      MultiLanguageLibrary
    
  
  
    
  
  
    
      ChartShowCtl.cs
    
  
  
    
    
  
  
  

VPS购买请点击我

文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。

目录[+]