[wix-devs] More on Wix 4.0 Build Problems

Rob Mensching rob at firegiant.com
Fri May 21 07:05:27 PDT 2021


And... 

1. In the v4 micro repos it was possible to avoid repos that required building for the Platform x PlatformToolset matrix. In the mono repo, everything is built so you're always exposed to the full matrix of supported platforms. This is something we can possibly optimize going forward.

2. In WiX v3 we did a lot of work in the build process to detect if you didn't have the full matrix of tools installed. It was annoying to maintain.

The simplest answer is to document the requirements. Step up from there would be to use the VS workloads file (whatever it is called) to make it easier to instruct VS to add all the necessary parts. All improvements to be done in the mono repo system.


PS: I'm taking a little bit of time off from v4 to get caught up on some FireGiant work. I'll get back to my v4 backlog later next week.

-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Bob Arnson via wix-devs
Sent: Friday, May 21, 2021 5:45 AM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Bob Arnson <bob at firegiant.com>
Subject: Re: [wix-devs] More on Wix 4.0 Build Problems

Don't forget x86, x64, and ARM64 variants, too.

To be documented. VS doesn't make it easy to determine the minimal set of components we need. 

-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Rebecca Cran via wix-devs
Sent: Friday, 21 May, 2021 00:43
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Rebecca Cran <rebecca at bsdio.com>
Subject: Re: [wix-devs] More on Wix 4.0 Build Problems

I hit the same problem and solved it by modifying the VS2019 install to include the latest version of the various v142 tools, SDKs etc.

I subsequently ran into it wanting the VS2017 bits too, so I went and installed those components in my VS2019 installation too. After that the build succeeded.


--
Rebecca Cran


On 5/20/21 10:35 PM, Ron Martin via wix-devs wrote:
> Running build.cmd, things running smoothly until:
>
> Build started 5/21/2021 12:23:09 AM.
> Project
> "D:\Repos\Wix\wix4\src\libs\dutil\WixToolset.DUtil\dutil.vcxproj" on 
> node 1 (default targets).
> C:\Program Files (x86)\Microsoft Visual 
> Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.tar
> gets(439,
> 5): error MSB8020: The build tools for v142 (Platform Toolset =
> 'v142') cannot be found. To build using the v142 build tools, please 
> install v142 build tools.  Alternatively, you may upgrade to the 
> current Visual Studio tools by selecting
>  the Project menu or right-click the solution, and then selecting 
> "Retarget solution". [D:\Repos\Wix\wix4\src\libs\duti 
> l\WixToolset.DUtil\dutil.vcxproj] Done Building Project 
> "D:\Repos\Wix\wix4\src\libs\dutil\WixToolset.DUtil\dutil.vcxproj"
> (default targets) -- FAILED.
>
>
> Build FAILED.
>
> There are dependencies on Toolset 14.2 (referenced as 14.0). I can't 
> tell if my version of VS 2019 is too new or your libraries are built 
> with a version of VS2019 that is too old. I might be missing an 
> optional VS2019 component.
>
> Any suggestions?
>
> As always, thanks for your help.
>
> Ron
>
> ____________________________________________________________________
> WiX Toolset Developer Mailing List provided by FireGiant 
> http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/ ____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-devs mailing list