SonarQube:运行build-wrapper时出错

时间:2016-02-04 21:11:14

标签: sonarqube sonar-runner

尝试按照http://docs.sonarqube.org/pages/viewpage.action?pageId=3080359

的建议运行build-wrapper

但它给我的错误“系统找不到指定的文件”

C:\Users\<path>>build-wrapper.exe --out-dir build_dir msbuild foo.sln /t:Rebuild Could not execute msbuild foo.sln /t:Rebuild: The system cannot f ind the file specified.

C:\Users\<path>>build-wrapper.exe --out-dir build_dir msbuild fooapp.vcprojx /t:Rebuild Could not execute msbuild fooapp.vcprojx /t:Rebuild: The system cannot f ind the file specified.

1 个答案:

答案 0 :(得分:0)

将“MsBuild.exe”的路径设置为您的路径,然后重新运行。您可以在文件夹C:\ Program Files(x86)\ MSBuild。

下找到MSBUild.exe