I upgraded a typescript project version 0.8.1 to 0.8.3.1 I did this by installing Typescript 0.8.3.1, creating a new project and copying all source files, publish settings and project files into this project. I manually editted the csproj file to be consistent with the 0.8.3 project file.
This is the error I encounter:
The command "tsc --comments --sourcemap --target ES5 " exited with code 1
However, from the commandline with the exact same command :
tsc --comments --sourcemap --target ES5
Everything seems to work fine. The project is a TFS project, so I already tried removing all readonly attributes on all files. Cleaning and rebuilding the project. Closing all windows. Restarting Visual studio etc.. The 'strange' thing is that the typescript files will compile when saved, but not on a complete rebuild.
FIX, so it seems:
It seemed I missed a new property in the itemgroup of the .csproj file
<ItemGroup>
<TypeScriptCompile Include="FirstTypescriptFile.ts" />
<Content Include="com\interfaces\IContext.js">
I added the "TypeScriptCompile Include="FirstTypescriptFile.ts" and now everything works as expected.