Where is tsc.exe?

Topics: General
Sep 1, 2013 at 8:47 AM
Hi,
Till now I've worked with TypeScript 0.9 tsc.exe (The only way to get errors on IntelliJ)

I've installed the latest TypeScript 0.9.1.1 plugin for Visual Studio 2012-2013 and I can't find the installed tsc.exe...

Where is it?

Thanks
Gil Amran
Coordinator
Sep 3, 2013 at 8:44 PM
It should be installed in the same place as before, I believe. For me it's in C:\Program Files (x86)\Microsoft SDKs\TypeScript\tsc.exe
Sep 6, 2013 at 6:10 AM
Edited Sep 6, 2013 at 6:18 AM
On my machine, the tsc.exe in C:\Program Files (x86)\Microsoft SDKs\TypeScript\tsc.exe was still 0.9.0.1 after I installed 0.9.1.1.

I then tried to uninstall 0.9.01 first before I installed 0.9.1.1. Now the TypeScript directory is missing and there is no tsc at all.

Does TypeScript only install if there is a VS2012 or VS2013 on the machine? I'm trying to install the compiler on our build server, which does not have VS2012. I think there might be a bug in the TypeScript setup so that it now only installs the compiler if it also finds VS2012 or VS2013.

I have created a work item for this problem: https://typescript.codeplex.com/workitem/1649

Regards,
Mathias
Sep 6, 2013 at 2:57 PM
Edited Sep 6, 2013 at 2:58 PM
If you don't have Visual Studio you can run tsc as a node module. It's really about the same. (Unless you're using MsBuild and you need the targets file.)
Coordinator
Sep 9, 2013 at 3:05 PM
@oocx - you're right - it should install correctly, even if you don't have VS2012/VS2013 on your machine.

Re: Grajkowski's point - the node module is another good solution if you aren't going to be using the VS functionality.
Nov 11, 2013 at 8:59 AM
Is installing Node.js for using TypeScript only? It is awfull!!!
Coordinator
Nov 11, 2013 at 3:38 PM
You don't need to install Node.js if you use the Visual Studio plugin. This is only for npm-based installs (which already comes with Node.js).

You shouldn't need to have Visual Studio installed to install the Visual Studio plugin. Once the plugin is installed, it would just give you the commandline-based compiler.