Just installed Visual Studio 2017 and wix extension and when trying to build a solution which uses Wix I get the following error:
Error The WiX Toolse
I tried the above solution and wasn't able to resolve the issue even after repeated reinstall and reboots.
I removed the existing setup project and created a new setup project, this solved my issue. Caution, backup your setup project before removing it so you don't loose your work or have to recreate from scratch.
May be a tip to others who might be stuck with the issue even after reinstall and reboots.