Hi, I am having a problem using util:XmlConfig from an include file, it seems 
like the namespace declaration isn't seen by the stuff in the include file even 
though I declare it in the <wix> tag for the main file.  Here is basic version 
of what I have now, with all the irrelevant details removed:

Main.wxs
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"; >
  <Product  ... />
        <!-bunch of stuff -->

       <?include $(env.inetroot)\private\Include.wxi ?>
         <Feature  ... />
</Wix>

Include.wxi
<Include>
   <!-bunch of stuff -->
                <DirectoryRef ...>
                      <Component ...>
                                <File ...>
                                        <util:XmlConfig ... />   <!-this 
doesn't work, util namespace is not found -->
                                </File>
                       </Component>
                </DirectoryRef>
</Include>

If I move the stuff from include.wxi to main.wxs it works fine, but when I try 
use include.wxi I get the error "Not a valid source file; detail: 'util' is an 
undeclared namespace. Line 29, position 14."

Any ideas on what I'm doing wrong?

Thanks,
Jason
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to