0
收到此錯誤,同時運行VSSonarExtension:錯誤CA0053與聲納
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\dataflowrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\designrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\globalizationrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\interoperabilityrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\maintainabilityrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\mobilityrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\namingrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\performancerules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\portabilityrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\reliabilityrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\securityrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\securitytransparencyrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\
fxcop\rules\usagerules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : CA0053 : Unable to load rule assembly
'c:\program files (x86)\microsoft visual studio 12.0\team tools\static analysis tools\
fxcop\rules\securitytransparencyrules.dll': Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
MSBUILD : error : Code Analysis detected errors.
See Code Analysis results window or log file for details.
1081 Warning(s) 15 Error(s)
Time Elapsed 00:00:41.66
[CxxSonarQubeMsbuidRunner] Failed to build project, check log in .cxxresults\BuildLog.txt
People are saying這是由於該項目是在以前創建VS版本的事實(我使用VS2013)。該錯誤與FxCop的。有誰知道如何解決它,並從VSSonarExtension報告嗎?任何輸入是讚賞!