【发布时间】:2016-03-31 22:56:24
【问题描述】:
我正在尝试在 TeamCity 中构建一个 ASP.NET vNext 项目。当它尝试构建时,我收到以下错误:
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
我假设我需要让 TeamCity 使用 Visual Studio 2015 附带的 msbuild 版本。这可能吗?
【问题讨论】:
-
您是否在托管 Team City 代理的服务器上安装了新版本的 MSBuild?
标签: teamcity asp.net-core visual-studio-2015