FYI: syntax of CSPROJ file has changed

Topics: General
Jan 22, 2013 at 3:37 PM

The syntax of the TS part of CSPROJ files has changed. This is how it looks like now.

Is there UI within VS to change the <TypeScriptTarget> ?

<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" />

Coordinator
Jan 22, 2013 at 6:59 PM

There isn't UI for this yet.

Note that projects made with 0.8.1.0 or 0.8.1.1 should still work fine with 0.8.2.0. This syntax is hopefully a bit less error-prone for changing options, though.

Jan 23, 2013 at 12:53 AM
Thanks. Yes the old csprojs works just fine. BTW the source level debugging in this version rocks!

-----Original Message-----

From: ryancavanaugh
Sent: 22 Jan 2013 18:59:51 GMT
To: [email removed]
Subject: Re: FYI: syntax of CSPROJ file has changed [typescript:430444]

From: ryancavanaugh

There isn't UI for this yet.

Note that projects made with 0.8.1.0 or 0.8.1.1 should still work fine with 0.8.2.0. This syntax is hopefully a bit less error-prone for changing options, though.