Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do you need both .net 3.5 and 4.0 installed or just .net 4?

to run both 3.5 and 4.0 web apps?

like image 247
Keith Nicholas Avatar asked Apr 15 '10 02:04

Keith Nicholas


People also ask

Do I need to install all versions of .NET Framework?

There are 4 distinct versions of the . net framework. All of those can be installed and uninstalled independently.

Do you need multiple versions of .NET Framework?

NET framework on a single computer? Microsoft designed the . NET Framework so that multiple versions of the framework can be installed and used at the same time. This means that there will be no conflict if multiple applications install different versions of the .

Can you install .NET 3.5 if 4.0 is already installed?

Yes. You can install and run multiple versions of the . NET Framework on a computer. You can install the versions in any order.

Is .NET Framework 3.5 Necessary?

Apps written to versions 3.5 and lower will require version 3.5 to be installed, and apps written to version 4 or higher will need version 4 installed. The good news is that you as a user don't really have to worry about those installations anymore. Windows pretty much handles it all for you.


2 Answers

I remember reading something once from Microsoft that stated:

".NET 4.0 adds in-process side-by-side compatibility with earlier versions of the Framework. This feature allows an application process to simultaneously run part of its code using the .NET Common Language Runtime (CLR) 4 and other parts using older versions of the CLR."

So to answer your question you only need both if your application uses features from both or altenatively you have separate web applications that use .NET 3.5 and .NET 4.0.

.NET 4.0 should be fine by itself, as long as you can upgrade your 3.5 applications to 4.0. This page has some useful infrmation.

Heres where I read it.

like image 91
Ash Avatar answered Nov 13 '22 20:11

Ash


http://msdn.microsoft.com/en-us/magazine/ee819091.aspx

It appears you need to install side by side.

like image 31
Keith Nicholas Avatar answered Nov 13 '22 20:11

Keith Nicholas