Suppressing ICE validation is the job at the moment if you want to build a WiX project using the VSTS hosted assembly agent, because the hosted assembly agent does not grant administrative privileges.
If it is inconvenient for you to suppress the check, you can always make the PropertyGroup conditional for the assembly in the assembly agent, so that the check is performed as usual in the desktop assembly:
<PropertyGroup Condition=" '$(BuildingInsideVisualStudio)' != 'true' "> <SuppressValidation>true</SuppressValidation> </PropertyGroup>
Another alternative way is to deploy your own build agent , and then run the build agent with administrative privileges.
By the way, the WiX toolkit was installed on the VSTS Hosted Build Agent, so you no longer need to follow this guide to test the WiX toolkit. See this list for installed software.
source share