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 Toolset v3.11 (or newer) build tools must be installed to build this project. Could not find wix.targets at 'C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\'. To download WiX Toolset v3.11 (or newer), see http://wixtoolset.org/releases/ Installer C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\WiX\v3.x\Wix.targets 10
In folder "C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\" I have the following files
2017-11-29 15:12 <DIR> .
2017-11-29 15:12 <DIR> ..
2017-05-01 07:34 293 705 difxapp_x64.wixlib
2017-05-01 07:34 203 950 difxapp_x86.wixlib
2017-02-27 23:52 3 369 LICENSE.TXT
2017-02-27 23:52 4 233 lux.targets
2017-03-28 02:20 9 067 wix.ca.targets
2017-05-01 07:32 1 731 wix.nativeca.targets
2017-03-28 02:20 1 097 wix.targets
2017-02-27 23:52 145 601 wix200x.targets
2017-02-27 23:52 146 067 wix2010.targets
Which includes the file "wix.targets" which Visual Studio reports as missing. What am I doing wrong?
A computer-restart later and its now working. So if someone have the same problem I recommend this after installing WiX. (restarting visual studio was not enough)