Sonarqube 是否不支持xproj?

Sonarqube 是否不支持xproj?,sonarqube,.net-core,sonarqube-msbuild-runner,Sonarqube,.net Core,Sonarqube Msbuild Runner,我正在尝试将SonarQube配置为构建.net核心项目,构建本身成功,但在完整的SonarQube分析构建步骤中出现以下错误: 2017-07-27T08:25:21.5598883Z ##[error]No analysable projects were found. SonarQube analysis will not be performed. Check the build summary report for details. 我们正在使用: SonarQube服务器和扫描程序

我正在尝试将SonarQube配置为构建.net核心项目,构建本身成功,但在完整的SonarQube分析构建步骤中出现以下错误:

2017-07-27T08:25:21.5598883Z ##[error]No analysable projects were found. SonarQube analysis will not be performed. Check the build summary report for details.
我们正在使用:

SonarQube服务器和扫描程序上的Java 8 SonarQube版本6.2 用于MSBuild 3.0的SonarQube扫描仪 声纳C 6.1.0.2359 MSBuild 14.0 但是根据 ,

它已经在v2.3中解决了,因为我们使用的是v3.0

xproj如下所示:

..
  <PropertyGroup>
    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
  </PropertyGroup>
  <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
  <PropertyGroup Label="Globals">
    <ProjectGuid>b43fc99f-b98f-4300-9a71-5252e01a602e</ProjectGuid>
    ...
    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
..
它有一个项目guid,这是扫描程序将其从分析中排除的主要原因。目标框架已安装在生成服务器中,我们正在使用正确的msbuild版本来生成它

有什么方法可以让SonarQube与xproj文件一起工作吗?

微软自己也不赞成xproj格式。根据,您应该使用Microsoft迁移页面上提到的工具迁移到标准csproj格式


根据您的观察,SonarQube.Net生态系统SonarC、MSBuild扫描仪将支持以csproj格式分析您的.Net核心项目

谢谢Nicolas,上一次有人提出这个问题是在2.3中修复的,从那以后我没有看到任何问题,我认为这与我的配置有关。