TypeScript and Windows 8 Applications


Huge thanks to Chris Sells, Developer Tools at Telerik who has produced some excellent Windows 8 TypeScript Templates

To get started using these Windows 8 Visual Studio 2012 TypeScript templates you will  first need to install the TypeScript plug-in for Visual Studio 2012. Currently these templates have been tested under TypeScript only and the generated .jsproj files have this path hard-coded in.

Chris has produced an excellent comprehensive blog at http://www.sellsbrothers.com/Posts/Details/12724

You can download the Windows 8 TypeScript samples from here, extract the three folders (blankts, blankfixedts and navts) into your VS2012 JavaScript project template folder.

e.g. C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplates\JavaScript\Windows Store\1033.

Once the files are there, shutdown all instances of Visual Studio 2012 and execute “devenv.exe /InstallVSTemplates” as admin. If you have multiple copies of Visual Studio installed, make sure you’re executing the one for VS2012.

Once you’ve completed those steps successfully, you should see three new TypeScript-based templates as shown in the very first figure of his blog post.

Comments (0)