[英]How to integrate sonarqube with a visual studio solution
I have installed SonarQube server and we have a requirement to integrate one of our visual studio project solution with SonarQube to analyse our code and receive code quality suggestions.我已经安装了 SonarQube 服务器,我们需要将我们的 Visual Studio 项目解决方案之一与 SonarQube 集成,以分析我们的代码并接收代码质量建议。 Currently we were not able to find a suitable guideline in how to set it up.
目前,我们无法找到合适的设置指南。 Appreciate if you can provide a clear guideline to solve our problem.
感谢您能否提供明确的指导方针来解决我们的问题。
Thank You谢谢你
You can use MSBuild.SonarQube.Runner a integrate Sonar with VS using Build Events您可以使用 MSBuild.SonarQube.Runner 使用 Build Events 将 Sonar 与 VS 集成
https://blogs.msdn.microsoft.com/devops/2015/09/28/quickstart-analyzing-net-projects-with-sonarqube-msbuild-or-visual-studio-online-and-third-party-analyzers-stylecop-resharper/#_Executing_the_MSBuild.SonarQube.Run https://blogs.msdn.microsoft.com/devops/2015/09/28/quickstart-analyzing-net-projects-with-sonarqube-msbuild-or-visual-studio-online-and-third-party-analyzers- stylecop-resharper/#_Executing_the_MSBuild.SonarQube.Run
Using Build Events https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2013/ke5z92ks(v=vs.120)使用构建事件https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2013/ke5z92ks(v=vs.120)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.