Getting TeamCity to build asp.net vNext apps

I'm attempting to get TeamCity to build an asp.net vNext application.  I've downloaded the Visual Studio 2015 Preview which includes a new version of MSBuild.  This is what I'm getting when attempting to build the app:

C:\...\MyApp.Api.kproj(7, 3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AspNet\Microsoft.Web.AspNet.Props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.


The problem appears to be that TeamCity is attempting to use the version of MSBuild that ships with Visual Studio 2013.  The file it's looking for exists under the MSBuild\Microsoft\VisualStudio\v14.0 directory.  Is it possible to have teamcity use the correct version of MSBuild here?  If not, does JetBrains have a timeline for supporting the new version of MSBuild?

Thanks,

Brian
1 comment
Comment actions Permalink

Hi,

No, it is not possible to configure TeamCity to run not supported runners. As current workaround you can use Command Line build runner.
Please watch and vore for the related feature request https://youtrack.jetbrains.com/issue/TW-38766.

0

Please sign in to leave a comment.