You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.24 13:45:51