将 TypeScript 部署到 Azure - 您的项目文件使用不同版本的 TypeScript 编译器
Deploying TypeScript to Azure - Your project file uses a different version of the TypeScript compiler
我一直在通过 CD 部署到 Windows Azure 的项目中使用 TypeScript 1.4 和 VS2013 Update 4。
昨天之前一切正常,但今天我收到以下错误,似乎与 Azure 构建服务器上的 TypeScript 工具版本有关:
4>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(103,5): error : 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.4.4\tsc.exe. You may be able to fix this problem by changing the <TypeScriptToolsVersion> element in your project file. [d:\a\src\MyProject\MyProject.Web\MyProject.Web.csproj]
4>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(103,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Microsoft SDKs\TypeScript.4.4\tsc.exe" is invalid. [d:\a\src\MyProject\MyProject.Web\MyProject.Web.csproj]
4>Done Building Project "d:\a\src\MyProject\MyProject.Web\MyProject.Web.csproj" (default targets) -- FAILED.
我试过删除 <TypeScriptToolsVersion>1.4</TypeScriptToolsVersion>
在我的 .csproj 文件中添加行并将其更新为 1.5,以防 azure 服务器更新到新的测试版,但这似乎没有帮助。
目前还有其他人看到这个问题吗?自上次成功构建以来,我没有对我的项目或 Azure 配置进行任何更改。
已将此问题报告给 VS 在线服务交付团队,他们正在努力修复。
上面还链接到一个 msdn 论坛线程,同时描述了一些不同的解决方法。
我一直在通过 CD 部署到 Windows Azure 的项目中使用 TypeScript 1.4 和 VS2013 Update 4。
昨天之前一切正常,但今天我收到以下错误,似乎与 Azure 构建服务器上的 TypeScript 工具版本有关:
4>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(103,5): error : 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.4.4\tsc.exe. You may be able to fix this problem by changing the <TypeScriptToolsVersion> element in your project file. [d:\a\src\MyProject\MyProject.Web\MyProject.Web.csproj]
4>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(103,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Microsoft SDKs\TypeScript.4.4\tsc.exe" is invalid. [d:\a\src\MyProject\MyProject.Web\MyProject.Web.csproj]
4>Done Building Project "d:\a\src\MyProject\MyProject.Web\MyProject.Web.csproj" (default targets) -- FAILED.
我试过删除 <TypeScriptToolsVersion>1.4</TypeScriptToolsVersion>
在我的 .csproj 文件中添加行并将其更新为 1.5,以防 azure 服务器更新到新的测试版,但这似乎没有帮助。
目前还有其他人看到这个问题吗?自上次成功构建以来,我没有对我的项目或 Azure 配置进行任何更改。
已将此问题报告给 VS 在线服务交付团队,他们正在努力修复。
上面还链接到一个 msdn 论坛线程,同时描述了一些不同的解决方法。