Msbuild SonarQube和.NET Compact Framework 3.5
SonarQube是否支持.NET Compact Framework 3.5以及完整的Framework版本 最初,项目不会生成,因为没有指定工具版本。指定工具版本后,使用msbuild v14成功生成项目。但是,SonarQube-MS集成失败,因为SonarQube无法收集有关我的项目的必要信息 我的构建环境是使用SonarQube v5.6.1、MSBuildTools v2015、SonarQube Scanner for MSBuild v2.1和SonarQube C#Plugin v5.3.2建立的 我创建了以下批处理脚本来运行项目分析,以便从同一文件夹启动开始、构建和结束步骤:Msbuild SonarQube和.NET Compact Framework 3.5,msbuild,sonarqube,compact-framework,code-coverage,Msbuild,Sonarqube,Compact Framework,Code Coverage,SonarQube是否支持.NET Compact Framework 3.5以及完整的Framework版本 最初,项目不会生成,因为没有指定工具版本。指定工具版本后,使用msbuild v14成功生成项目。但是,SonarQube-MS集成失败,因为SonarQube无法收集有关我的项目的必要信息 我的构建环境是使用SonarQube v5.6.1、MSBuildTools v2015、SonarQube Scanner for MSBuild v2.1和SonarQube C#Plugin
MSBuild.SonarQube.Runner.exe begin /k:"myproject-6.0.8" /n:"myproject-6.0.8" /v:"6.0.8" /d:sonar.verbose=true
"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" /tv:3.5 /t:Rebuild "/p:Configuration=Debug,Platform=Any CPU" /verbosity:detailed "myproject.sln"
MSBuild.SonarQube.Runner.exe end
从输出日志中:
C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8>MSBuild.SonarQube.Runner.exe end
SonarQube Scanner for MSBuild 2.1
Default properties file was found at C:\myJunk\bin\sonarqube\MSBuild.SonarQube.Runner-2.1\SonarQube.Analysis.xml
Loading analysis properties from C:\myJunk\bin\sonarqube\MSBuild.SonarQube.Runner-2.1\SonarQube.Analysis.xml
Post-processing started.
SonarQube Scanner for MSBuild End Step 2.1
11:51:48.178 sonar.verbose=true was specified - setting the log verbosity to 'Debug'
11:51:48.178 Loading the SonarQube analysis config from C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8\.sonarqube\conf\SonarQubeAnalysisConfig.xml
11:51:48.178 Not running under TeamBuild
11:51:48.178 Analysis base directory: C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8\.sonarqube
Build directory:
Bin directory: C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8\.sonarqube\bin
Config directory: C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8\.sonarqube\conf
Output directory: C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8\.sonarqube\out
Config file: C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8\.sonarqube\out
Generating SonarQube project properties file to C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8\.sonarqube\out\sonar-project.properties
The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
Possible causes:
1. The project has not been built - the project must be built in between the begin and end steps
2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported
3. The begin, build or end steps have not all been launched from the same folder
Writing processing summary to C:\Users\jgaoiran\Documents\Visual Studio 2008\Projects\myproject-6.0.8\.sonarqube\out\ProjectInfo.log
Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
11:51:48.194 Creating a summary markdown file...
Post-processing failed. Exit code: 1
你能提供一个样本项目来帮助我们复制这个问题吗?ThanksIn框架4.5的环境也是如此。可以通过什么方法来解决这个问题?