简体   繁体   中英

VS2015 preview + TypeScript 1.3 = error

I have just installed VS2015 Preview. I created a MVC project. I added a new typescript file. I have tried to compile and I got:

The "TypeScript.Tasks.VsTsc" task could not be loaded from the assembly C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v14.0\\TypeScript\\TypeScript.tasks.dll. Could not load file or assembly 'file:///C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v14.0\\TypeScript\\TypeScript.tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. WebApplication1

I have tried to search for TypeScript.tasks.dll and I only found:

c:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\TypeScript\\TypeScript.Tasks.dll

and

c:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v11.0\\TypeScript\\TypeScript.Tasks.dll

How to make it work?

在安装Visual Studio 2015之后,它有助于为Visual Studio 2013安装TypeScript 1.3。奇怪...

TypeScript 1.3 powertool的安装程序确实出现了问题,我发现在大多数情况下使用“添加/删除程序”中的修复选项修复了安装。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM