简体   繁体   English

MSBuild.SonarQube.Runner.Tool不分析.cs文件

[英]MSBuild.SonarQube.Runner.Tool not analyzing .cs files

I am trying to use Sonarqube for code analysis with team city integrated using cake build. 我正在尝试使用Sonarqube进行代码分析,并使用蛋糕构建集成团队城市。

For some reason Sonarqube does not analyze .cs files.(currently analyzes js/css/xml) 由于某种原因,Sonarqube不分析.cs文件。(当前分析js / css / xml)

Is it a problem with the agent being used for the build? 用于构建的代理是否有问题? Some settings to be done in Sonarqube/Teamcity? 在Sonarqube / Teamcity中需要进行一些设置吗?

Help will be greatly appreciated. 帮助将不胜感激。

由于Sonar需要较新的版本,因此需要更新构建代理上的Roslyn编译器。

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

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