I am getting the following errors when using Visual Studio 2015 CTP and trying to use TypeScript.
1>VSTSC : error TS5015: Build: Unsupported locale: 'en-US'.
1>VSTSC : error TS5023: Build: Unknown option 'noEmitOnError'
I was able to get both errors to go away by setting the following configurations in the csproj file
<TypeScriptToolsVersion>1.4</TypeScriptToolsVersion>
<TypeScriptNoEmitOnError>false</TypeScriptNoEmitOnError>
<TypeScriptBuildConfigurations>--sourcemap --target ES5</TypeScriptBuildConfigurations>
However if I include any DefinitelyTyped 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.
Example:
search(search: string, paramValue: string|number|string[]|boolean): ILocationService;
Error: Build: ',' expected
Is this a bug in Visual Studio 2015 CTP or just something messed up in my configuration.
I fixed this problem by re-running the TypeScript 1.4 for Visual Studio 2013 installer, copying the GitHub sources into "C:\Program Files (x86)\Microsoft SDKs\TypeScript" didn't work for me.
I just had this occur for me when I installed TypeScript 1.8.6 Visual Studio 2015 plugin.
Eventually I fixed it by uninstalling all previous versions of TypeScript (of which I had many) using Add/Remove programs, and then reinstalling TypeScript plugin 1.8.6.