TypeScript: TypeScript SDK installer doesn't install targets for BuildTools

TypeScript Version: SDK installer 2.3.3

Prerequisites: Machine with only the BuildTools for Visual Studio 2017 installed.

Expected behavior:

Installing the TypeScript SDK on a machine with only BuildTools 2017 intalled, the SDK installer should also install the needed msbuild targets and props under the folder C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\TypeScript. The SDK itself is installed as expected in the folder C:\Program Files (x86)\Microsoft SDKs\TypeScript.

Actual behavior:

The msbuild files under C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\TypeScript are missing. It seems like currently these are only installed if a full VisualStudio installation could be found.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 4
  • Comments: 15 (8 by maintainers)

Most upvoted comments

have you tried installing the VS 2015 installer, it will install the tools even if VS is not installed on the machine. Also consider using the TS Nuget package instead.

Had the same problem after migrating a project from VS2015 to VS2017, TS project would not build on a build agent that only has the Build Tools. Ended up using the nuget package as suggested by @mhegazy (thank you). However, it’d be nice to have a solution that didn’t involve using a nuget package.