由于Typescript编译器路径错误(2015年7月),Visual Studio Online(托管构建控制器)的TypeScript构建失败 [英] TypeScript build failing for Visual Studio Online (hosted build controller) due to Typescript compiler path error - July 2015

查看:169
本文介绍了由于Typescript编译器路径错误(2015年7月),Visual Studio Online(托管构建控制器)的TypeScript构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Visual Studio Online的托管构建控制器上的Typescript配置的更改似乎在周末(2015年7月25日至26日)发生了变化,我们现在看到Web解决方案的持续构建失败。  ;


It appears that a change to the Typescript configuration on the hosted build controllers for Visual Studio Online has changed over the weekend (25-26th July 2015) and we are now seeing continuous build failures for our web solution. 

具体来说,我们收到错误:  C:\Program Files(x86)\ MSBuild\Microsoft \ VisualStudio \v14.0 \ TypeScript \ Microsoft.TypeScript.targets(103,5):您的项目文件使用不同版本的TypeScript编译器和这台机器上目前安装的工具
。在C:\Program Files(x86)\ MicroSoft SDKs\TypeScript \1.4 \1.4\tsc.exe中找不到编译器。您可以通过更改< TypeScriptToolsVersion>来解决此问题。项目文件中的元素。

Specifically, we get the error:  C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(103,5): Your project file uses a different version of the TypeScript compiler and tools than is currently installed on this machine. No compiler was found at C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.4\1.4\tsc.exe. You may be able to fix this problem by changing the <TypeScriptToolsVersion> element in your project file.

我认为错误的原因是重复的"\1.4 \\\ 1.4 \"在Typescript编译器tsc.exe的路径中 - 我们的本地计算机上也不存在此路径,而只是"TypeScript \1.4 \ tsc.exe"。

I believe that the cause of the error is the repeated "\1.4\1.4\" in the path to the Typescript compiler tsc.exe - this path doesn't exist on our local machines either, instead having just "TypeScript\1.4\tsc.exe".

正如所建议的,我们已经尝试删除< TypeScriptToolsVersion>在我们的项目中,无济于事。我们还更新了Typescript 1.5,看看这是否解决了这个问题,但我们得到的就是同样的错误,说"C:\Program Files(x86)\ Mesrosoft
SDKs \ TypeScript \ 1.5\1.5\tsc.exe"不存在 - 再次注意路径中的重复1.5。

As suggested, we have tried removing the <TypeScriptToolsVersion> in our projects, to no avail. We have also updated to Typescript 1.5 to see if this fixed the issue, but all we get then is the same error saying that "C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.5\1.5\tsc.exe" doesn't exist - note the duplicate 1.5 in the path again.

您能否告诉我们何时解决此问题,因为我们将VSO用于我们的生产版本并且此问题导致我们非常悲痛。

Could you please tell us when this issue will be fixed, as we use VSO for our production releases and this issue is causing us significant grief.

谢谢,

J Hedt

推荐答案

截至目前,我没有足够的信息来说明您报告的问题。我无法确认它是否是正在进行的问题或是否已在最新更新中修复。我将尝试在此问题上提供更多资源,并最早为您提供更新。

As of now, I don't have enough information about the issue which you have reported. I can't confirm if it a on-going issue or fixed in latest update. I will try to engage some more resource over this issue and will provide you an update at earliest.


问候,

Asha


这篇关于由于Typescript编译器路径错误(2015年7月),Visual Studio Online(托管构建控制器)的TypeScript构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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