[wix-devs] Simplifying WiX xmlns values

Rob Mensching rob at firegiant.com
Wed Jun 3 16:10:36 PDT 2020


I can *never* remember the xmlns URIs for the various extensions. They are better in v4 but after writing the extension cache WIP, I wondered

                What if we used the extension name as the xmlns value instead of a URI?

The result would be:

<Wix xmlns="..." xmlns:util="WixToolset.Util.wixext">

And on the command-line you'd have:

wix.exe build -ext WixToolset.Util.wixext

*And* then instead of having to remember the default WiX Toolset namespace (can you type it in without looking?) we could use just "WixToolset", so:

<Wix xmlns="WixToolset" xmlns:util="WixToolset.Util.wixext">

I'm open to other suggestions for the base xmlns, but "WixToolset" is a pretty good start.

Thoughts?

  Rob Mensching
  CEO
  FireGiant
_______________________________________________________________
FireGiant  |  Dedicated support for the WiX toolset  |  http://www.firegiant.com/



More information about the wix-devs mailing list