错误包装Azure项目时复制打字稿文件 - 的Visual Studio 2015年UPDATE1 [英] Error Copying Typescript files when packaging Azure project - Visual Studio 2015 Update1

查看:200
本文介绍了错误包装Azure项目时复制打字稿文件 - 的Visual Studio 2015年UPDATE1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到VS 2015年更新1(包括打字稿1.7),并在Azure SDK 2.8后,我无法打包因为在打包试图对JS输出文件复制到该路径的错误我的部署Azure应用程序:

After updating to VS 2015 Update 1 (including Typescript 1.7) and the Azure SDK 2.8, I am unable to package my Azure application for deployment because of an error in the path the packager is trying to copy the js output file to:

错误无法复制文件D:\\点¯x\\ XX \\ XXX \\ APP \\ SERVICES \\编辑\\直尺manager.js到D:\\点¯x\\ XX \\ XXX \\ OBJ \\调试\\ PE.Web \\ D :\\点¯x\\ XX \\ XXX \\ APP \\ SERVICES \\编辑\\直尺manager.js。不支持给定路径的格式。 PE.Architecture C:\\ Program Files文件(x86)的\\的MSBuild \\微软\\ VisualStudio的\\ v14.0 \\的Windows Azure工具\\ 2.8 \\ Microsoft.WindowsAzure.targets 2787

Error Unable to copy file "D:\X\XX\XXX\App\services\editor\ruler-manager.js" to "D:\X\XX\XXX\obj\Debug\PE.Web\D:\X\XX\XXX\App\services\editor\ruler-manager.js". The given path's format is not supported. PE.Architecture C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.8\Microsoft.WindowsAzure.targets 2787

请注意,该目录已经包括两次,在输出路径中间引起非法结肠

Note that the directory has been included twice, causing an illegal colon in the middle of the output path.

这很可能这是 TFS生成错误安装Visual Studio 2015年更新1 和<经过相关href=\"https://social.msdn.microsoft.com/Forums/en-US/300a59bc-0f23-41a4-927a-05ae9978f3a4/unable-to-build-project-with-tyepscript-since-upgrading-to-vs-2015-update-1?forum=msbuild&prof=required\">https://social.msdn.microsoft.com/Forums/en-US/300a59bc-0f23-41a4-927a-05ae9978f3a4/unable-to-build-project-with-tyepscript-since-upgrading-to-vs-2015-update-1?forum=msbuild&prof=required和<一个href=\"https://github.com/Microsoft/TypeScript/issues/5894\">https://github.com/Microsoft/TypeScript/issues/5894

更新:
下面的解决方法已经被提出,但我们仍然无法实施后发布:

Update: The following workaround has been suggested, but we were still unable to publish after implementing it:

我们的工作围绕它通过手动添加ContinueOnError =WarnAndContinue到CopyWebRoleFiles目标内的复制任务,Microsoft.WindowsAzure.targets内。

We worked around it by manually adding ContinueOnError="WarnAndContinue" to the Copy task within the CopyWebRoleFiles target, within Microsoft.WindowsAzure.targets.

(来源:<一个href=\"https://github.com/Microsoft/TypeScript/issues/5894#issuecomment-162261090\">https://github.com/Microsoft/TypeScript/issues/5894#issuecomment-162261090)

有没有人有比联线程建议之外的其他解决方法或修复?

Does anyone have any workarounds or fixes other than the ones suggested in the linked threads?

推荐答案

这是打字稿1.7工具的错误。修复已被释放:

This was a bug in the Typescript 1.7 tooling. Fixes have been released:

有关 VS 2015年(TS 1.7.6)

For VS 2015 (TS 1.7.6)

有关 VS 2013 (TS 1.7.5)

For VS 2013 (TS 1.7.5)

详细位置: https://github.com/Microsoft/TypeScript/issues / 5894#issuecomment-163798025

这篇关于错误包装Azure项目时复制打字稿文件 - 的Visual Studio 2015年UPDATE1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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