Hi, 

  I am authoring WiX project in VS 2010 using Votive. And added reference to
WixNetFxExtension.dll .

  Also in my product.wxs file added xmlns:netfx attribute:

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

All components and files are defined in separate WiX include file (wxi)
where I am trying to use: <NetFx:NativeImage> to use Ngen for .net
assemblies.

<Component Id="cmp_WTMSOICORE.DLL" Guid="*">
      <File Id="file_WTMSOICORE.DLL" Name="WTMsoiCore.dll" KeyPath="yes"
Vital="yes">
        <netfx:NativeImage Id="ngen_WTMSOICORE.DLL" Platform="all"
Priority="0" AppBaseDirectory="APPLICATIONROOTDIRECTORY"/>
      </File>
    </Component>

But project compliation fails  with error: "Namespace prefix 'netfx' is not
defined." at all places where 
<netfx:NativeImage> element is used. 

It seems I followed all steps as explained in WiX Documentation: How To:
NGen Managed Assemblies During Installation.

Could you please help to resolve error ? Is there any issue using
<netfx:NativeImage> in WiX include file ?

Thanks,
Uday





 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Namespace-prefix-netfx-is-not-defined-tp7599569.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to