I am failing to get compile time errors or successful builds for TypeScript in VS 2012. I am using this in my project file:
<Target Name="BeforeBuild">
<Exec Command=""$(PROGRAMFILES)\Microsoft SDKs\TypeScript\0.8.0.0\tsc --module amd -target ES5 " @(TypeScriptCompile ->'"%(fullpath)"', ' ')" IgnoreExitCode="true" />
</Target>
eg errors should look like this:
Greeter.ts(7,26): Supplied parameters do not match any signature of call target
any ideas?
Your closing "
is misplaced. Should be:
Command=""$(PROGRAMFILES)\\Microsoft SDKs\\TypeScript\\0.8.0.0\\tsc" module amd -target ES5 @(TypeScriptCompile ->'"%(fullpath)"', ' ')" IgnoreExitCode="true" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.