title: Visual Studio Online Build failing on TypeScript
body: <p>I am building my project on a Visual Studio online HOsted server which says it it is running an older version:</p>
  
  <pre><code>PreComputeCompileTypeScriptWithTSConfig:
    C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe has TypeScript 2.0.6 installed.  
  </code></pre>
  
  <p>When I attempt to build, I get build errors which I believe are being caused as --project "d:_work\9\s\Main\SRC\Portal\tsconfig.json"
      CompileTypeScriptWithTSConfig:
        C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe --project "d:_work\9\s\Main\SRC\Portal\tsconfig.json"
      ##[error]VSTSC(0,0): Error TS5023: Build: Unknown compiler option 'baseUrl'.
      VSTSC : error TS5023: Build: Unknown compiler option 'baseUrl'. [d:_work\9\s\Main\SRC\MyProject.csproj]
      ##[error]VSTSC(0,0): Error TS5023: Build: Unknown compiler option 'paths'.
      VSTSC : error TS5023: Build: Unknown compiler option 'paths'. [d:_work\9\s\Main\SRC\MyProject.csproj]
      ##[error]VSTSC(0,0): Error TS5023: Build: Unknown compiler option 'typeRoots'.
      VSTSC : error TS5023: Build: Unknown compiler option 'typeRoots'. [d:_work\9\s\Main\SRC\MyProject.csproj]
      Done Building Project "d:_work\9\s\Main\SRC\MyProject.csproj" (default targets) -- FAILED.
      Done Building Project "d:_work\9\s\Main\Solutions\MyProject.sln" (default targets) -- FAILED.</p>
  
  <p>I have a specified </p>
  
  <blockquote>
    <p><code>&lt;TypeScriptToolsVersion&gt;2.0&lt;/TypeScriptToolsVersion&gt;</code></p>
  </blockquote>
  
  <p>In my project file, but it doesn't seem to be recognized.  What am I missing to force the newwer TS version to run?  Is this being caused by something else possibly?</p>
  
  <p>UPDATE:
  It appears I can downgrade to 1.7 and it will recognize (but break obviously), but it will not use 2.0 - which would indicate that it is not installed on the Hosted machine.  After setting the build command manually to </p>
  
  <p>I then get the error</p>
  
  <blockquote>
    <h2>[error]C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(165,5):</h2>
    
    <p>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\2.0\tsc.exe.  You may be able to fix this problem by
    changing the  element in your project file.</p>
  </blockquote>
  
  <p>But according to this: <a href="https://www.visualstudio.com/en-us/docs/build/admin/agents/hosted-pool#software" rel="nofollow noreferrer">https://www.visualstudio.com/en-us/docs/build/admin/agents/hosted-pool#software</a> - it should be installed (using Visual Studio 15), correct?</p>