Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2015 Error:The WiX Toolset v4 build tools must be installed to build this project

I have VS 2015 and I have installed Wix v3.10 but when I try to build the setup project it shows me this error:

The WiX Toolset v4 build tools must be installed to build this project.

I don't want to install wix v4 because it's not stable yet.

How I can get rid of this error?

like image 395
Waddah Rasheed Avatar asked Jan 04 '23 02:01

Waddah Rasheed


1 Answers

Had this error too with VS2017 and WiX 3.11.

I had added WiX Toolset v4 Setup Project as a new project in my solution instead of WiX Toolset v3 Setup Project. I kept getting the same error upon build.

So I added a WiX Toolset v3 Setup Project to the solution and *deleted the WiX Toolset v4 Setup Project (the error remained until I deleted WiX Toolset v4 Setup Project).

Now the error is gone, the build works and my Installer works. Is this the same problem on your side? Here's a screenshot that might help illustrate: Add New Project window

like image 163
Nick Nolan Avatar answered May 18 '23 22:05

Nick Nolan