安装 Visual Studio 2015 更新 1 后出现 TFS 构建错误 [英] TFS Build error after installing Visual Studio 2015 Update 1

查看:31
本文介绍了安装 Visual Studio 2015 更新 1 后出现 TFS 构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在构建服务器上安装了 Visual Studio 2015 Update 1,现在在编译完成后复制 Typescript/Javascript 文件时出现错误.

I installed Visual Studio 2015 Update 1 onto our build server and now I am getting errors copying the Typescript/Javascript files after the compilation completes.

C:\程序文件(x86)\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets(182,5):错误 MSB3021:无法复制文件C:\Builds\1\XXX\XXX 连续集成\src\XXX\Trunk\XXX\XXX.Web\Content\Scripts\Admin\Reports.js"到C:\Builds\1\XXX\XXX 连续Integration\bin_PublishedWebsites\XXX.Web\C:\Builds\1\XXX\XXX连续集成\src\XXX\Trunk\XXX\XXX.Web\Content\Scripts\Admin\Reports.js".不支持给定路径的格式.

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3021: Unable to copy file "C:\Builds\1\XXX\XXX Continuous Integration\src\XXX\Trunk\XXX\XXX.Web\Content\Scripts\Admin\Reports.js" to "C:\Builds\1\XXX\XXX Continuous Integration\bin_PublishedWebsites\XXX.Web\C:\Builds\1\XXX\XXX Continuous Integration\src\XXX\Trunk\XXX\XXX.Web\Content\Scripts\Admin\Reports.js". The given path's format is not supported.

看起来输出路径的构建不正确 - 输出目录正在第二次添加.升级到 Visual Studio 2015 Update 1 后还有其他人遇到过这个问题吗?

It looks like the output path is being built incorrectly - the output directory is being added a second time. Has anyone else had this issue after upgrading to Visual Studio 2015 Update 1?

推荐答案

此问题已在 Typescript 1.7.6 版中修复.升级以解决构建问题.

This issue is fixed in Typescript version 1.7.6. Upgrade to resolve the build issue.

这篇关于安装 Visual Studio 2015 更新 1 后出现 TFS 构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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