ADX WIX setup project fails to build on VS 2019 and .NET 4.8

Add-in Express™ Support Service
That's what is more important than anything else

ADX WIX setup project fails to build on VS 2019 and .NET 4.8
 
eWorks




Posts: 3
Joined: 2020-02-06
Unfortunately, we encountered problems while building a MSI file via WiX when generating the WiX setup project using Add-In Express v9.4.4644 for Microsoft Office and .NET. We are using a Windows 10 setup with Visual Studio 2019, .NET 4.8, latest WiX extension for Visual Studio 2019 and WiX toolset v3.11.2.

When creating the MSI for a WPF project using just WiX there?Â?Ð?és no problem and we get the MSI file. However, when using Add-In Express (context menu ?Â?Ð?èCreate Setup Project?Â?Ð?é) it generates the setup project for us; but when we now want to build this project to get a MSI file it quits with the error that Microsoft.Build.Utilities, Version=2.0.0.0 couldn?Â?Ð?ét be found.

A workaround found on the web suggested to add .NET 3.5 through the ?Â?Ð?èAdd/Remove Windows features?Â?Ð?é option. Now this leads to the error that now Microsoft.Build.Utilities.v12.0, Version=12.0.0.0 couldn?Â?Ð?ét be found. So we?Â?Ð?ére stuck at this point.

When using WiX toolset v4.x it works out well. But since v4.x isn?Â?Ð?ét production ready this is not an option for us.

It seems, that there is an problem, when using Add-In Express with WiX toolset v3.11.2. Do you have any advice on how to get the Add-In Express working with WiX v3.11.2?

Thanks in advance.

Kind regards
Posted 07 Apr, 2020 07:21:38 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello,

We suppose this relates to your VS installation. I suggest that you check if all components related to building are installed. Sorry for a too-generic advice; I have no idea what may cause this. In any way, this doesn't relate to WiX.

Also check if the issue occurs on a newly-created add-in project. If it does, send the complete solution folder to the support email address; make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 08 Apr, 2020 03:50:04 Top