0

当我尝试在我的 dotnet 代码(2.2 版)的命令下运行时

dotnet sonarscanner begin /k:"project-key" 
dotnet build <path to solution.sln>
dotnet sonarscanner end 

我在 dotnet-scanner 版本 == 4.3.1 的构建步骤中得到(SonarQube 分析仅支持 msbuild 14 或 msbuild 15)

4

2 回答 2

0

将 dotnet-scanner 版本升级到最新版本,问题将得到解决。

于 2019-08-09T08:40:45.927 回答
0

如果你已经安装了 Visual Studio 2019 Community,这里是解决方案。

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin
于 2020-05-06T13:00:38.080 回答