[wix-users] Azure DevOps support for MSBuild 14 (Heat)
Rob Mensching
rob at firegiant.com
Wed Feb 23 08:59:46 PST 2022
Not a solution using heat.exe but if you get tired of fighting with heat.exe, FireGiant offers a commercial solution that works: https://www.firegiant.com/wix/wep-documentation/harvesting/
Free trial: https://www.firegiant.com/products/wix-expansion-pack/
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Ian West via wix-users
Sent: Sunday, February 20, 2022 6:42 PM
To: wix-users at lists.wixtoolset.org
Cc: Ian West <iwest at breastscreen.org.au>
Subject: [wix-users] Azure DevOps support for MSBuild 14 (Heat)
Currently, our inhouse app is tied to Wix 3.11.2, and uses Heat to harvest installation artefacts. Building on-premise works okay, but it fails online as Azure DevOps pipelines, which are meant to support Wix, fail as MSBuild 14.0 cannot be found.
Is anyone aware of how to configure Azure DevOps to install MSBuild 14.0, so that Heat's dependencies will work correctly? I have tried chocolatey, direct downloads etc. but cannot find a solution. Surely I'm not the only person using Heat to harvest in an Azure Pipeline?
HarvestProjects:
D:\a\1\s\Centre\Installer\packages\WiX.3.11.2\build\..\tools\Heat.exe project D:\a\1\s\Centre\BookingsServices\BookingsServices\BookingsServices.csproj -configuration Release -directoryid INSTALLLOCATION -platform AnyCPU -pog Binaries -pog Symbols -pog Sources -pog Content -pog Satellites -pog Documents -projectname BookingsServices -ag -sfrag -out obj\Release\_BookingsServices.wxs
##[error]heat.exe(0,0): Error HEAT5316: Failed to load MSBuild wrapper object: Could not load file or assembly 'Microsoft.Build, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
heat.exe : error HEAT5316: Failed to load MSBuild wrapper object: Could not load file or assembly 'Microsoft.Build, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. [D:\a\1\s\Centre\Installer\BookingsServicesInstaller\BookingsServicesInstaller.wixproj]
Done Building Project "D:\a\1\s\Centre
Alternatively, must I manually specific the results of the harvest in the .wixproj file, instead of using Heat?
Thanks,
Ian
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list