It was loading the wrong version. The problem seems to be that candle doesn't use relative paths with -ext, so it ends up reading the file from the WiX bin folder. If you specify a fully qualified path it works. Visual Studio sets the path to a relative path (e.g. -ext WixFirewallExtension.dll) and so it fails.
I can't seem to find any way to force Visual Studio to load the correct file. Neil -----Original Message----- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: 19 July 2010 19:29 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WixFirewallExtension from 3.5 On 7/19/2010 2:23 PM, Neil Sleightholm wrote: > I would like to use the WixFirewallExtension from 3.5 with WiX 3.0 > because it now supports the "Profile" attribute. I thought this would > simply be a case of referencing the extension from a local folder and > all would be ok. But when I try this I get an error from candle "The > fire:FirewallException element contains an unexpected attribute > 'Profile'." The candle command line looks correct, i.e. it has a full > path to the 3.5 version of the assembly. One odd thing I have noticed is > that when I look at the properties of the assembly in Visual Studio the > Version is 3.0.0.0 rather than 3.5.0.0. > The assembly version is unchanged, because they're backward compatible. I suspect Candle is loading the 3.0 version; try FusLogVw to verify. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users