Oldrich Svec
Oldrich Svec

Reputation: 4231

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?

Upvotes: 7

Views: 2739

Answers (2)

Paul van Brenk
Paul van Brenk

Reputation: 7549

There indeed seems something wrong with the installer for the TypeScript 1.3 powertool, I found that using the repair option in Add/Remove Programs fixed the install in most cases.

Upvotes: 0

Oldrich Svec
Oldrich Svec

Reputation: 4231

It helped to install TypeScript 1.3 for Visual Studio 2013 after the installation of the Visual Studio 2015. Strange...

Upvotes: 9

Related Questions