Build error MSB600 "tsc.exe" exited with code 2
<p>Can anyone give any insight. Couldn't find any information about this.
-Asp.net 5 project-        Visual studio 2015
Encountered the below error</p>
<blockquote>
<p>Error MSB6006 &quot;tsc.exe&quot; exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets   213</p>
</blockquote>
<p>EDIT:
This is line 213 of the Microsoft.TypeScript.targets file</p>
<pre><code>  &lt;VsTsc
  ToolPath=&quot;$(TscToolPath)&quot;
  ToolExe=&quot;$(TscToolExe)&quot;
  TSConfigFile=&quot;%(ConfigFiles.Identity)&quot;
  YieldDuringToolExecution=&quot;$(TscYieldDuringToolExecution)&quot;
  ProjectDir=&quot;$(ProjectDir)&quot;
  ToolsVersion=&quot;$(TypeScriptToolsVersion)&quot;
  TypeScriptCompileBlocked=&quot;$(TypeScriptCompileBlocked)&quot;
  ComputeOutputOnly=&quot;false&quot;&gt;
</code></pre>
<p>I have succeded to compile with gulp-typescript library.</p>
<blockquote>
<p>[16:27:47] Starting 'build-ts'... Process terminated with code 0.</p>
<p>[16:27:50] TypeScript: 4 semantic errors.</p>
<p>[16:27:50] TypeScript: emit succeeded (with errors)</p>
<p>[16:27:50] Finished 'build-ts' after 3.49 s</p>
</blockquote>