简体   繁体   English

使用MSBuild.Sonar.Runner对C#网站项目进行声纳分析

[英]Sonar analysis of C# Website Project with MSBuild.Sonar.Runner

My solution contains Web Application projects and a couple of Web Site projects. 我的解决方案包含Web应用程序项目和几个Web站点项目。 SonarQube analysis works great for Web Application modules, but completely ignores code in Web Site projects. SonarQube分析非常适合Web应用程序模块,但完全忽略了Web站点项目中的代码。 I know that the analysis is also possible using generic sonar runner, but the point is, how to do it using MSBuild.Sonar.Runner ? 我知道使用通用声纳运行程序也可以进行分析,但是重点是,如何使用MSBuild.Sonar.Runner进行分析?

From the documentation : 文档中

Known Limitations 已知局限性

  • Analysis of Web Site Solutions is not supported, however analysis of Web Application Solutions is supported. 不支持对网站解决方案的分析,但是支持对Web应用程序解决方案的分析。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM