daniel
daniel

Reputation: 35733

Add typescript file in VS2013

There is no item in context menu in the solution explorer to add an typescript file to the project?

The only possibility seems to be to add it via file->new and then adding it as an existing file to the project. Unfortunately the .jsand .min.js are not added as dependencies to the project then.

Upvotes: 1

Views: 1394

Answers (3)

fuzzybear
fuzzybear

Reputation: 2405

From VS , Do new Project, scroll down the list of templates you should see Typescript, in the right hand pane select install the latest Typescript for visual studio, reboot, restart VS whatever ! and enjoy the goodness from the creator of c#

Upvotes: 0

Antony Jones
Antony Jones

Reputation: 581

I Had a similar issue, I had to go to "Add" -> "New Item..." and search for TypeScript, after I had added a TypeScript file the context menu appeared correctly.

Also I had to download the latest version of the extension.

Upvotes: 0

Fenton
Fenton

Reputation: 251182

I had this issue and it was because I had installed the TypeScript Visual Studio extension before I had upgraded to Visual Studio 2013.

If you install the Visual Studio extension again (select the "Repair" option) it will detect you now have Visual Studio 2013 and fix your issue.

Upvotes: 1

Related Questions