针对ASP.Net Core解决方案/项目运行SonarQube [英] Running SonarQube against an ASP.Net Core solution/project
问题描述
SonarQube具有MSBuild运行器,但.NET Core使用dotnet.exe进行编译,而msbuild只是将其包装。我尝试过使用MSBuild运行程序对我的ASP.NET Core解决方案没有成功。
SonarQube has an MSBuild runner but .NET Core uses dotnet.exe to compile and msbuild just wraps that. I have tried using the MSBuild runner with no success against my ASP.NET Core solution. Using SonarQube Scanner works kind of.
关于如何将SonarQube与.NET Core结合使用的任何建议?我正在寻找静态代码分析。
Any suggestions on how I can utilize SonarQube with .NET Core? The static code analysis is what I am looking for.
推荐答案
现在 .csproj 是< 的a href = https://blogs.msdn.microsoft.com/dotnet/2016/07/15/net-core-roadmap/ rel = nofollow noreferrer>实际格式 .Net Core 解决方案,用于MSBuild v2.3的SonarQube扫描仪。
With .csproj now being the de-facto format of .Net Core solutions, SonarQube support of such solutions comes with the SonarQube Scanner for MSBuild v2.3 .
这篇关于针对ASP.Net Core解决方案/项目运行SonarQube的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!