tfsbuild - Make local TFS build agent to use v14 msbuild tools -


i've got couple of asp.net vnext applications , want ci server able build them. both local machine , ci server running vs2015 rc. we've got vs online , local build controller - server mentioned.

however, cannot builds going since seems looking v12 tooling - not include dnx.

so - building solution gives: the dnx runtime package needs installed. see output window more details

the dnx runtime package needs installed. see output window more details

it is installed - since came vs2015 rc, afaik. thought build template isn't using v14 tooling. downloaded default git template v12. , indeed says:

<this:process.buildprocessversion>12.0</this:process.buildprocessversion> 

so switched 14, uploaded template, ran build. then:

the build controller used build not

exception message: build controller used build not support version of template file used build definition. version of template file 14.0. maximum supported version build controller 12.0.0.0.

so trying solve - got me forum question states:

then, instead of changing buildprocessversion property, need change involved msbuild version. open build process template, find run msbuild project activity, change toolpath property 2013 version msbuild

so - checked out template - there no toolpath version. there toolversion property - i'll try setting 14:

enter image description here

in short, question is: how can build asp.net vnext apps on build server, has vs2015rc installed - building using v12 tooling?

update

seems problem not in using wrong tooling, more in finding/using correct dnx runtime while running under service account ( tfs agent doing ). i've added issue dnx team: https://github.com/aspnet/dnx/issues/2239 .

use msbuild parameter /p:visualstudioversion=14.0 ,which can added in build definition .


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -