I am trying to configure CI using the VisualStudio.com built-in assembly for an ASP.NET MVC 4.5 project that uses the new TypeScript 1.5 tools during assembly. I installed my CI assembly definition with a new non-XAML definition format.
When trying to build, the following error occurs:
## [error] (103.5): Error: the project file uses a different version of the compiler and TypeScript tools that are currently installed on this computer. The compiler was not found in the C: \ Program Files (x86) \ Microsoft SDK \ TypeScript \ 1.5 \ 1.5 \ tsc.exe folder. You can fix this problem by changing the item in the project file.
Which looks strange to me - an additional 1.5 subfolder under the 1.5 folder. This is not true: the standard installation location for tsc.exe is located in the folder "C: \ Program Files (x86) \ Microsoft SDK \ TypeScript \ 1.5 \ tsc.exe".
Note that I also tried to return it to use 1.4, and I get the same error: path ... TypeScript \ 1.4 \ 1.4 \ tsc.exe in the logs.
I do not directly reference tsc.exe. The following are the TypeScript links in my csproj:
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
and
<TypeScriptToolsVersion>1.5</TypeScriptToolsVersion>
My hint tells me that TypeScript 1.5 is actually installed because I see other references to .NET 4.6 in the build logs (both released as part of VS2015), but this path is incorrect. And I'm sure TS 1.4 is installed.
, , , , , , - VSO .
- , -XAML VSO Hosted Build?