This project is read-only.

Typescript, 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
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>
  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
    <TypeScriptTarget>ES5 --module AMD</TypeScriptTarget>
  <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: