What exactly is happening that makes your assembly being installed into the GAC a 3.5 or a 4.0? It's not clear to me what "GAC against 3.5" means unless you think that GacUtil is running somewhere during the install. When people talk about targeting a version of the framework from their apps it's typically driven by a config file with a supportedruntime element targeting a framework version. But if you mean you have two versions of each assembly (one 3.5 the other 4.0) then the 3.5 assemblies would be in one feature and the 4.0 in the other.
Phil Wilson -----Original Message----- From: Andres Juarez [mailto:andresj_...@hotmail.com] Sent: Tuesday, May 04, 2010 10:30 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to GAC an assembly against .NET 3.5 and 4.0 But what about if what I want is for the customer to be able to select via feature if they want to target the 3.5 or 4.0.? This is actually a customer scenario, so back to my question, is there any way in WIX or targetting one .NET versus other for GAC'ing purposes? > From: wsulli...@softdocs.com > To: wix-users@lists.sourceforge.net > Date: Tue, 4 May 2010 06:09:41 -0400 > Subject: Re: [WiX-users] How to GAC an assembly against .NET 3.5 and 4.0 > > This is something you don't have to worry about. Version 4 of the CLR will > handle assemblies that target previous versions of the framework. > > -----Original Message----- > From: Andres Juarez [mailto:andresj_...@hotmail.com] > Sent: Monday, May 03, 2010 9:07 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to GAC an assembly against .NET 3.5 and 4.0 > > > Hi All, > > > > We have been GAC'ing an assembly against .NET 3.5 by making use of the > Assembly=".net" attribute. That works well. > > > > Now we need to support cases where the end customer might have .NET 3.5 and > 4.0 in the same machine and therefore we want to GAC the assembly against > both versions of the .NET. > > > > Is there a way of doing this in WIX? I do not see any other parameter for the > File element where to target different versions of the .NET. What would if do > with the > > Assembly=".net" if both versions of the framework are there already? > > > > Thanks > > Andres > > > > > > > > _________________________________________________________________ > Hotmail is redefining busy with tools for the New Busy. Get more from your > inbox. > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users