title: Visual Studio 2015 CTP TypeScript Errors on Build
body: <p>I am getting the following errors when using Visual Studio 2015 CTP and trying to use TypeScript.</p>
  
  <pre><code>1&gt;VSTSC : error TS5015: Build: Unsupported locale: 'en-US'.
  1&gt;VSTSC : error TS5023: Build: Unknown option 'noEmitOnError'
  </code></pre>
  
  <p>I was able to get both errors to go away by setting the following configurations in the <strong>csproj</strong> file</p>
  
  <pre><code>&lt;TypeScriptToolsVersion&gt;1.4&lt;/TypeScriptToolsVersion&gt;
  &lt;TypeScriptNoEmitOnError&gt;false&lt;/TypeScriptNoEmitOnError&gt;
  &lt;TypeScriptBuildConfigurations&gt;--sourcemap --target ES5&lt;/TypeScriptBuildConfigurations&gt;
  </code></pre>
  
  <p>However if I include any <strong>DefinitelyTyped</strong> typing files such as Angular or jQuery it will throw a bunch of errors. The errors appear to be that it doesn't understand the TypeScript 1.4 syntax for multiple value typings.</p>
  
  <p>Example:</p>
  
  <pre><code>search(search: string, paramValue: string|number|string[]|boolean): ILocationService;
  </code></pre>
  
  <p><strong>Error</strong>: Build: ',' expected</p>
  
  <p>Is this a bug in Visual Studio 2015 CTP or just something messed up in my configuration.</p>