Click here to Skip to main content
13,044,428 members (101,274 online)
Rate this:
Please Sign up or sign in to vote.
i have a app i whant to make it to work with framework 3 - 3.5 ,,, because when i try to run on another computer request framework 4
how i can make to run with 3 -3.5 framework ?
options in vb ? code ?
Posted 1-Dec-11 5:24am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

First of all, do you know that one can install .NET Framework v.4.0 on any system where v.3.5 can be installed; and I don't see any reason for not doing it. (This is v.4.5 which cannot be installed on XP.)

However, you can re-target your projects to any version starting from v.2.0 (the .NET versions prior to this version hardly can be considered seriously). With Visual Studio, this is just a few clicks per project. Change target framework using the option [Project Properties] => The tab "Application" => "Target Framework".

Of course, after you change the target, your project will only compile if you did not use any new features of v.4. However, if you used new features of newer VB.NET version, it's fine, will compile.

That's it.

Manoj K Bhoir 1-Dec-11 11:37am
My 5!
SAKryukov 1-Dec-11 11:38am
Thank you, Manoj.
Marcus Kramer 1-Dec-11 11:55am
+5. Complete answer. I know I have target machines in my networks that cannot for legacy dependency reasons not have dotNet 3, 3.5 or 4 installed, so it's very good to mention how to "downgrade" an application as well.
SAKryukov 1-Dec-11 12:25pm
Thank you, Marcus.
Yes, the real blocking reason is having Windows 2000, which I still use, too. It can work only with v.2.0, but I easily create compatible assemblies using VS 2008 or 2010, as in all my articles (yet another reason to downgrade is preparing of CodeProject publications; a nice published code provides solutions for all compatible platforms).
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 1 Dec 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100