2015-11-05 123 views
0

我一直在尋找解決這個錯誤的地方,但到目前爲止還沒有找到幸運的解決方案。有誰會碰巧知道如何解決這個問題?SonarQube執行失敗找不到組件

INFO: ------------------------------------------------------------------------

INFO: EXECUTION FAILURE

INFO: ------------------------------------------------------------------------

Total time: 9.118s

Final Memory: 27M/513M

INFO: ------------------------------------------------------------------------

ERROR: Error during Sonar runner execution

ERROR: Unable to execute Sonar

ERROR: Caused by: Cannot find the assembly "e:\Builds\52\IT\QLMSFileSystemPurge.Nightly\src..\bin\Rock.QL.QLMSClientPortal.Services.FileSystemPurge.exe" provided by the property "sonar.cs.fxcop.assembly".

ERROR:

ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch.

ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.

回答

0

請使用SonarQube掃描儀爲的MSBuild上http://docs.sonarqube.org/x/bAAW作爲記錄來分析你的C#項目。它具有對FxCop的本地支持,並且FxCop將在MSBuild構建期間執行,並具有正確的設置。

不再支持通過Visual Studio Bootstrapper插件直接或間接設置sonar.cs.fxcop.assembly