Skip to content

Instantly share code, notes, and snippets.

@rheid
Created March 12, 2015 10:44
Show Gist options
  • Save rheid/557102f6291b0d6502b5 to your computer and use it in GitHub Desktop.
Save rheid/557102f6291b0d6502b5 to your computer and use it in GitHub Desktop.
TypeScript in Visual Studio For C#-style projects (.csproj):
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<TypeScriptTarget>ES5</TypeScriptTarget>
<TypeScriptIncludeComments>true</TypeScriptIncludeComments>
<TypeScriptSourceMap>true</TypeScriptSourceMap>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<TypeScriptTarget>ES5</TypeScriptTarget>
<TypeScriptIncludeComments>false</TypeScriptIncludeComments>
<TypeScriptSourceMap>false</TypeScriptSourceMap>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment