TypeScript v1.7 MSBuild tooling breaks web application publish
Summary
Installing TypeScript 1.7 tooling for Visual Studio causes different behaviour from 1.6 when publishing web applications, both from within Visual Studio (right click > publish) and via msbuild.exe (/p:DeployOnBuild=true).
This issue has only been observed using a file system publish.
Symptoms
Generated JavaScript is no longer included in the packaged / published output.
Observations
It appears there is a difference in the MSBuild Content ItemGroup's metadata. I believe that previously the generated JavaScript files were being included in the Content ItemGroup as paths relative to the .csproj file:
Scripts\App.js
As of 1.7 it appears the generated JavaScript files are now being included in Content as absolute paths:
C:\Projects\Solution\Web\Scripts\App.js
Perhaps this is causing a problem for the web publishing mechanism?
Tested using VS2013.5 desktop build / publish and also TFS2015.1 CI build / publish. Originally reported symptoms have been fixed. Thanks!
Tested succesfully on TFS2015.1 classical XAML build. Thx.
I was caught by the same problem on 1.7.4 Resolved in 1.7.6 Thank you!
Working great here. Thanks for being so fast with a fix! Another test case for the books, eh? :+1:
1.7.6 on our build server solved problems here as well! Thanks!
Hi, I tried to install VS 2015 TS 1.7.6 Update on my build machine with no luck. First I installed VS 15 Isolated Shell from https://connect.microsoft.com/VisualStudio/ExtendVS Then Installed VS 2015 Update 1 Then trying to install TS 1.7.6 I get "This version of TypeScript requires Visual Studio 2015 Update 1 to be installed"
How can I install TS 1.7.6 on my build machine without installing full version of VS? P.S. same scenario with VS 13 isolated shelled worked fine with TS 1.7.5
The build tools for VS 2013 and VS 2015 are identical, so for your build server installing the VS 2013 bits should be sufficient.
You may have to copy the files from:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript
to
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript
We'll make sure any future installers work as expected.
Closing this since it's been resolved and verified.