WiX fails with XslTransform in MSBuild

Add-in Express™ Support Service
That's what is more important than anything else

WiX fails with XslTransform in MSBuild
VS2015 MSBuild fails on WixProj not set to have UseTrustedSettings=true 

Posts: 3
Joined: 2015-04-16
wixproj (86): Unable to execute transformation. Execution of the 'document()' function was prohibited. Use the XsltSettings.EnableDocumentFunction property to enable it.

After researching this with WiXToolset.org - it was confirmed that changes to the XslTransform assembly from microsoft now contains a default property value of UseTrustedSettings='false' which causes XslTransform executing document() to fail.

The fix is to add this property UseTrustedSettings='true' into the XslTransform tag attributes *Manually*

Is there a way that we can get the add-in-express to automate this?
Posted 18 Jan, 2016 09:31:53 Top
Andrei Smolin

Add-in Express team

Posts: 18279
Joined: 2006-05-11

We will look into this. What designer version did you use to create the WiX Project? What WiX version are you using?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Jan, 2016 07:11:18 Top