是否可以将TeamCity配置为使用Visual Studio 2015附带的MSBuild? [英] Is it possible to configure TeamCity to use the MSBuild that ships with Visual Studio 2015?

查看:94
本文介绍了是否可以将TeamCity配置为使用Visual Studio 2015附带的MSBuild?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在TeamCity中构建一个ASP.NET vNext项目.尝试构建时,出现以下错误:

I'm attempting to build an ASP.NET vNext project in TeamCity. When it tries to build, I get the following error:

C:\...\MyApp.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.

要查找的文件实际上位于C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AspNet\Microsoft.Web.AspNet.Props

The file it's looking for is actually located at C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AspNet\Microsoft.Web.AspNet.Props

我假设我需要获得TeamCity才能使用Visual Studio 2015附带的msbuild版本.这甚至有可能吗?

I'm assuming that I need to get TeamCity to use the version of msbuild that ships with Visual Studio 2015. Is this even possible?

推荐答案

每个JetBrains ,虽然可以使用TeamCity的命令行运行程序来实现,但它不受直接支持.

Per JetBrains, it is not directly supported, although it should be possible using TeamCity's command line runners.

这篇关于是否可以将TeamCity配置为使用Visual Studio 2015附带的MSBuild?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆