Yes, XmlFile has moved to the Util schema. You need to add a schema
declaration to the top of your fragment, e.g.:

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

and prefix uses of XmlFile with util: e.g. <util:XmlFile>.

You also need to use the -ext WixUtilExtension switch to candle and light.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Albert Tuulas
Sent: 22 December 2006 08:28
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] XmlFile in WiX 3

Hello,

I just downloaded binaries for Wix-3.0.2211.0, and it seems that XmlFile
is not there. When compiling sources that have XmlFile, candle says:

error CNDL0005 : The Component element contains an unexpected child
element 'XmlFile'.

Am I missing something obvious? 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to