SonarScanner .NET (Framework)后处理失败,请求技术支持
SonarScanner for MSBuild扫描网站项目end命令执行失败
问题详情
我有一个网站项目,需要使用SonarScanner .NET进行代码扫描(默认CLI版本的SonarScanner不支持C#语言)。目前begin和rebuild命令可以正常执行,但end命令执行失败,报错信息如下:
The SonarScanner for MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
Generation of the sonar-properties file failed. Unable to complete the analysis.
环境版本信息
- Windows 10
- .NET Framework 4.8
- SonarQube Community Edition 9.5 (build 56709)
- 适用于.NET Framework的MsBuild 17.2.1
- SonarScanner for MSBuild 5.7.2
已尝试的排查操作
- 在项目文件夹和解决方案文件夹下分别执行
begin、rebuild、end三条命令 - 测试过两种目录结构:将解决方案放在项目文件夹内,以及解决方案与项目文件夹同级
内容的提问来源于stack exchange,提问作者Bit
相关产品推荐
相关产品推荐

