Typescript 8.3.1.0, active modules in visual studio?

Topics: General
Apr 5, 2013 at 8:31 PM
How do i activate the amd typescript module in visual studio, in previous versions i could edit my project file and add --module amd to the build action..

But the action is no where to be found in the project file since 8.3.1.0.
Apr 6, 2013 at 10:44 AM
Well, i've update TypeScrpt yesterday, and didn't find any problems:

Here is is the typescript part in my .csproj (just beofre the closing </Project> tag)
  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
    <TypeScriptTarget>ES5 --module AMD</TypeScriptTarget>
    <TypeScriptIncludeComments>true</TypeScriptIncludeComments>
    <TypeScriptSourceMap>true</TypeScriptSourceMap>
    <TypeScriptModuleKind>AMD</TypeScriptModuleKind>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
    <TypeScriptTarget>ES5 --module AMD</TypeScriptTarget>
    <TypeScriptIncludeComments>false</TypeScriptIncludeComments>
    <TypeScriptSourceMap>false</TypeScriptSourceMap>
    <TypeScriptModuleKind>AMD</TypeScriptModuleKind>
  </PropertyGroup>
  <Import Project="$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets" />
Also if you don't have the webessential extension go get it and in there there is Compile Flag - Use the AMD module:

http://visualstudiogallery.msdn.microsoft.com/07d54d12-7133-4e15-becb-6f451ea3bea6