TypeScript

 

Documentation is now available on GitHub >>

 

 

3b8a63c34d6735149e96e609b66d2aef9a1cfebb2616ba107f2fb35f71d59835

Last edited May 6, 2015 at 8:02 AM by mousetraps, version 12

Comments

balassamarton Apr 7, 2015 at 12:07 PM 
I've installed TypeScript Tools 1.4 and NTVS latest, and now I get a build error:

Your project file uses a different version of the TypeScript compiler and tools than is currently installed on this machine. No compiler was found at C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.4\1.4\tsc.exe. You may be able to fix this problem by changing the <TypeScriptToolsVersion> element in your project file. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets

The strange thing is that it looks for tsc.exe in Microsoft SDKs\TypeScript\1.4\1.4, which is an invalid path, but the configuration file looks ok:

<PropertyGroup>
<TypeScriptToolsVersion Condition="'$(TypeScriptToolsVersion)'==''">1.4</TypeScriptToolsVersion>
<TscToolPath Condition="'$(TscToolPath)' == ''">$(MSBuildProgramFiles32)\Microsoft SDKs\TypeScript</TscToolPath>
<TscToolPath Condition="'$(TypeScriptToolsVersion)' != ''">$(TscToolPath)\$(TypeScriptToolsVersion)</TscToolPath>
<TscToolExe Condition="'$(TscToolExe)' == ''">tsc.exe</TscToolExe>
<TscYieldDuringToolExecution Condition="'$(TscYieldDuringToolExecution)' == ''">true</TscYieldDuringToolExecution>
</PropertyGroup>

I've even reinstalled Visual Studio, but no change. Any suggestions? I'm using Visual Studio Professional 2013

lelong37 Jan 21, 2015 at 7:33 AM 
@lytton in order to use them they have to actually be included in your project, by default, they would be published to Azure, you would have to go out of your way for them not to be deployed.

middlewest Sep 28, 2014 at 8:15 PM 
tsd doesn't take into account the `Scripting` directory that you use in your example projects for keeping the `typing` folder and typescript definition files in it

lytton Aug 1, 2014 at 3:45 PM 
Seems you need to include those .js files when publish it onto Azure?