Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > .net version 3.5 is chosen although my project only requires version 2.0
 

.net version 3.5 is chosen although my project only requires version 2.0

Hello,
In the setup project under "Conditions Editor" I choose .net version 2.0, however when installing the software during the installation it requires .net 3.5. I've made sure that the target framework for compilation is 2.0, but still it does not help. Any ideas why ?

Thank you,
Efi
Efi  Wednesday, February 18, 2009 6:48 PM
I don't know where the "conditions editor" is,so it's not clear to me exactly where you are looking. You may mean the Prerequisites, I suppose. Anyway, a common reason for this is in Launch Conditions view (was that what you meant?) if you select the .NET Framework launch condition and right-click to see the Properties window, you need 2.0.50727 in there. VS 2008 has a drop-down choice.
If it's the Prerequisites check, you may have set the checkbox for the 3.5 framework and setup.exe therefore will try to install it.
Phil Wilson
  • Marked As Answer byEfi Thursday, February 19, 2009 7:51 AM
  •  
PhilWilson  Wednesday, February 18, 2009 7:35 PM
I don't know where the "conditions editor" is,so it's not clear to me exactly where you are looking. You may mean the Prerequisites, I suppose. Anyway, a common reason for this is in Launch Conditions view (was that what you meant?) if you select the .NET Framework launch condition and right-click to see the Properties window, you need 2.0.50727 in there. VS 2008 has a drop-down choice.
If it's the Prerequisites check, you may have set the checkbox for the 3.5 framework and setup.exe therefore will try to install it.
Phil Wilson
  • Marked As Answer byEfi Thursday, February 19, 2009 7:51 AM
  •  
PhilWilson  Wednesday, February 18, 2009 7:35 PM
Thank you, I missed the Prerequisites.


Efi  Thursday, February 19, 2009 7:52 AM

You can use google to search for other answers

Custom Search

More Threads

• Windows installer and self updates
• Administrative install by non-administrator possible?
• .Net project Publishing Problem
• Another Icon in ClickOnce Deplyment?
• check (in the code) if new version of clickonce application is available
• How to redistribute clickonce applications
• Launch Condition Haze
• new installation error message
• Problem in smart device cab
• How to read the values using CustomActionData property from MSI Installer