我已经安装了 SonarQube,我能够运行 .net 核心项目并分析代码,但是我试图在 .net 项目上运行它不起作用,
我遵循的步骤:
1- 我在 SonarQube 中创建了一个项目,在构建时我选择了 .net 和构建工具 .Net 框架
2- 在我的 .net 应用程序代码或解决方案的根目录中运行生成的命令
SonarScanner.MSBuild.exe begin /k:"ULO-DEVProject" /d:sonar.host.url="http://localhost:9000" /d:sonar.login="sqp_4ee1f72f8456599998db59ffe007afbeb2e73284"
本次运行成功
当我运行时:MsBuild.exe /t:Rebuild
我得到以下错误:
'MsBuild.exe' is not recognized as an internal or external command,
operable program or batch file.