Sonarqube 支持“.Net Core"(带有 .xproj 扩展)项目 [英] Sonarqube support for ‘.Net Core’ (with .xproj extention) projects

查看:39
本文介绍了Sonarqube 支持“.Net Core"(带有 .xproj 扩展)项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道 Sonarqube v4.x 或 v5.x(C# 插件版本 5.2)是否支持.Net Core"(带有 .xproj 扩展名)项目?

Anyone has any idea on whether ‘.Net Core’ (with .xproj extention) projects are supported by Sonarqube v4.x or v5.x (C# plugin version 5.2)?

尽管 SonarQube Scanner 日志文件中没有错误消息,但我们所有的 .xproj 文件都列在 ProjectInfo.log 文件中的跳过的项目"下,并且仪表板仅显示 .csproj 文件的结果,而不显示任何 .xproj 文件的结果.

Though there is no error message in SonarQube Scanner log file, all our .xproj files are listed under "Skipped projects" in ProjectInfo.log file and dashboard is showing results only for .csproj files and not for any .xproj files.

感谢您对此的回复

推荐答案

Per SonarQube Scanner for MSBuild 的文档(用于分析 SonarQube 中的 C#/.Net 项目的扫描仪):

Per documentation of the SonarQube Scanner for MSBuild (which is the scanner to be used for analysing C#/.Net projects in SonarQube) :

目前不支持分析ASP.NET vNext项目(即project.json),参考SONARMSBRU-167

Analysis of ASP.NET vNext projects (i.e. project.json) is currently not supported, refer to SONARMSBRU-167

.Net Core 项目现在支持 MSBuild v2.3 的扫描器(它本身已经很旧了,所以只需获取最新的)

.Net Core projects now supported since Scanner for MSBuild v2.3 (which itself is already old, so just grab the latest)

这篇关于Sonarqube 支持“.Net Core"(带有 .xproj 扩展)项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆