Bug 19690 – Installer fails to register MSBuild extensions for Visual Studio Build Tools

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2019-02-20T16:13:57Z
Last change time
2019-03-16T18:57:13Z
Keywords
industry
Assigned to
No Owner
Creator
Richard Manthorpe

Comments

Comment #0 by rmanth — 2019-02-20T16:13:57Z
The MSBuild ImportBefore/ImportAfter properties and targets are only registered for full Visual Studio IDE installations and not for Build Tools as they don't have the same registry entries. Using MSBuild from the command line then fails to find and compile and D code. You can work around it by fetching and installing the files yourself but it makes for a fiddly installation process on CI servers.
Comment #1 by r.sagitario — 2019-03-16T18:57:13Z