I am having trouble creating an Apache Cordova project in Visual Studio 2013 with their new CTP1.1 patch that enables support for these project types. I had my environment working and building but I needed to get TypeScript working so I can use the DefinitelyTyped Packed which provides the types you need to hook up to the Cordova API. So I have installed this package:
But I noticed that I could not add in my own TypeScript File type which then tells Visual Studio that this needs to be compiled using TypeScript. The project template comes with a index.ts which does work correctly because the project file has this in there:
So i needed to have this type included to be able to update the project file with these entires without hacking about in the project file each time i needed to add a .ts file. (Which I would add as a .js and then rename it to .ts). I then found an installer for Visual Studio 2013 Update 2 for TypeScript here:
Now I recieve an error which means I cannot create the project type anymore, but all the other project types are okay, which to me means that it is related to the TypeScript installation that I just did:
The imported project "C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v12.0\Javascript\Microsoft.VisualStudio.Javascript.Common.targets" was not found. Confirm that the path .... etc.
My question is ... How do I resolve this? Or ... How is everyone else using the Cordova API in Visual Studio 2013 Update 2 CTP1.1 without using TypeScript?
Any help will be appreciated, thanks in advance!