Enabling native TypeScript support in other project types in Visual Studio 2015

Native TypeScript support in Visual Studio 2015 is not available for all project types by default. As far as I’m aware, it is only available for the ASP.NET Web Application project type.

Sometime, you may be working with TypeScript but would prefer to use a different project type, e.g. when you are working with CRM or SharePoint. To add native TypeScript support to a project type of your choice, add the following to the project file:

<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" />

Reload your project, go to the project’s properties in Visual Studio and you should now see the TypeScript Build tab.

Advertisements

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.
This entry was posted in CRM, JavaScript, SharePoint. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s