I am trying to build a wixproj on VSTS but so far I only got the following message:
SetupProject1\SetupProject1.wixproj(27,5): Error : The WiX Toolset v3 build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/
For my tests I have created a new wixproj with Wix Toolset v3.11RC2 on my computer and linked it to a new repo on VSTS.
VSTS hosted agent have Wix Toolset v3.10 installed.
The VSTS build use a VS Build Task, with the build Platform set to x86
in order to avoir the AnyCPU
error.
I have tried with the Hosted and Hosted VS2017 agent but no luck and also tried the default Wix imports:
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
And those recommended for VS2017:
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(WixCATargetsPath)" Condition=" '$(WixCATargetsPath)' != '' " />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.CA.targets" Condition=" '$(WixCATargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.CA.targets') " />
Do I need to configure something or is it not possible at the moment?