Lennox
Lennox

Reputation: 183

How do I set the TypeScript compiler version for an ASP.NET 5 MVC 6 project in Visual Studio 2015 RC?

So I'm now at my witts end with this one. As the question in the title asks, I'm trying to set the tsc version for a sample ASP.NET 5 MVC 6 project. I'm using Visual Studio 2015 RC and I want to compile TypeScript using version 1.5 Beta that was recently released. In VS 2013, this was an option page in the project properties. I thought there would be some magic project.json value I could set, but nope. If I could even turn off the compilation (version 1.4) and use a Gulp task, even that would I could count as progress.

Upvotes: 5

Views: 752

Answers (1)

tugberk
tugberk

Reputation: 58454

There is no way to do this in ASP.NET 5 natively. This is something you should handle inside gulp or grunt tasks. See this sample grunt task for typescript. It is based on the dependency you have for grunt typescript plugin.

Upvotes: 3

Related Questions