刚安装了VSxx的Typescript扩展,并按照Visual Studio 2012安装TypeScript,然后使用教程来调用编译器:
> tsc greeter.ts
但是,当我尝试编译.ts文件时,我应该在哪里键入:tsc greeter.ts?在VS命令行和Windows控制台中尝试,总是得到tsc未被识别为command(Command "tsc" is not valid.)的消息.
tsc greeter.ts
Command "tsc" is not valid.
javascript visual-studio-2012 typescript tsc
javascript ×1
tsc ×1
typescript ×1
visual-studio-2012 ×1