针对ASP.Net Core解决方案/项目运行SonarQube

编程入门 行业动态 更新时间:2024-10-28 16:19:40
本文介绍了针对ASP.Net Core解决方案/项目运行SonarQube的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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 = blogs.msdn.microsoft/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

本文发布于:2023-11-06 22:15:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1564818.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:解决方案   项目   Net   ASP   SonarQube

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!