Re: Is MSBuild 14.1 Supported?

487 views
Skip to first unread message

Tamas Vajk

unread,
Jan 4, 2017, 8:21:19 AM1/4/17
to David, SonarQube
Hello David,

I haven't seen version 14.1 of MsBuild yet. Can you tell me how to get this version? 
  • VS2015 ships msbuild14, but even the updates have 14.0... version numbers
  • VS2017 brings msbuild15, on my machine it's version 15.1.371.0
BTW msbuild 15 is not yet supported.

Tamas


Tamas VAJK | SonarSource
Language Team

On 28 December 2016 at 15:18, David <b...@hotmail.com> wrote:
Hello,

Merry Christmas to everyone and thank-you in advance for any suggestions on this problem.

We are getting the following error when running analysis with the MSBuild Runner 2.0.

[1] - No ProjectInfo.xml files were found. Possible causes:
[2] - 1. The project has not been built - the end step was called right after the begin step, without a build step in between
[3] - 2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported
[4] - 3. The build step has been launched from a different working folder
[5] - Post-processing failed. Exit code: 1


10:04:47.7547677 - [1] - SonarQube Scanner for MSBuild 2.0
10:04:47.7782061 - [2] - Default properties file was found at D:\sqa\services\scanners\msbuild\SonarQube.Analysis.xml
10:04:47.7791827 - [3] - Loading analysis properties from D:\sqa\services\scanners\msbuild\SonarQube.Analysis.xml
10:04:47.8114105 - [4] - Post-processing started.
10:04:48.3797917 - [5] - SonarQube Scanner for MSBuild End Step 2.0
10:04:48.5536265 - [6] - Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
10:04:48.5604627 - [7] - 10:04:48.557  Creating a summary markdown file...

The MSBuild version on the server is 14.1 not 14.0 and the project successfully builds with that version.

Does the sonar runner support only 14.0?

Here is what MSBuild reports when requesting 14.0.

MSBUILD : error MSB1040: ToolsVersion is not valid. The tools version  14.0  is unrecognized. Available tools versions are  14.1 ,  12.0 ,  4.0 ,  2.0 ,  3.5 


Many thanks,

David

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/3f7ff168-5aad-4220-8512-337d66db874d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David

unread,
Jan 5, 2017, 5:45:49 PM1/5/17
to SonarQube, b...@hotmail.com
Hello Tamas,

Thanks for looking at this.

14.1 is the version of the open source msbuild equivalent of msbuild tools 14.0.  

 

When building with the open source msbuild it would great if sonarqube supported that as it does so well with other open source software.

With thanks

David




To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.

Tamas Vajk

unread,
Jan 11, 2017, 3:30:24 AM1/11/17
to David, SonarQube
Hello David,

We're working on the cross-platform msbuild support. (msbuild15)
Can you point me to the 14.1 version. Is it one of these: https://github.com/Microsoft/msbuild/releases?

Thanks,
Tamas

Tamas VAJK | SonarSource
Language Team

To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/d1297bf0-c3ad-4b80-8d5a-6e536931365d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages