I'm using the latest WiX 3.6 build and I wrote my first custom action library in vs2010 and it's a .NET 4 assembly. When I run my installer which calls the custom action I get a BadImageFormatException. I switch the project to create a .NET 3.5 assembly and it works perfectly. I've updated my CustomActions.config to the following:
<configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" /> </startup> </configuration> But I still get the same exception. Is this a limitation of WiX? Can I not use .NET 4? Thanks, Simon ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users