The Latest from Raymond.CC Blog

Multiple Versions of Microsoft .NET Framework in Add or Remove Programs

Posted: 20 Jul 2009 12:01 AM PDT



If you read the comments on this post, there are actually quite a few people with questions in their mind thinking of how many versions of .NET Framework should we install on our computer. It started from version 1 up and now it’s up to version 3.5. Very soon we’ll have .NET Framework 4 as we’re already seeing BETA versions of it. Actually I was having the same question as well because I don’t want to install multiple versions of unnecessary .NET Framework on my computer. It’s a waste of space if I am not going to need it.

Multiple .NET Framework in Windows

Most of the time the official website for a software would write something like this sentence “This program requires .NET Framework 2.0 or higher” on the requirements. On my Windows XP Professional laptop, I am seeing a total of 5 .NET Framework installed (Microsoft .NET Framework 1.1, Microsoft .NET Framework 1.1 Hotfix (KB928366), Microsoft .NET Framework 2.0 Service Pack 2, Microsoft .NET Framework 3.0 Service Pack 2, Microsoft .NET Framework 3.5 SP1). I was wondering if I could just uninstall the older versions of .NET Framework and only keep version 3.5 SP1?

I found the answer after a little research.

The answer below is taken from Aaron Stebner, the guy who created the brilliant Microsoft .NET Framework Cleanup Tool.

When you install the .NET Framework 3.5 SP1, it will also install the .NET Framework 2.0 SP2 and the .NET Framework 3.0 SP2 behind the scenes. You cannot use the .NET Framework 3.5 SP1 unless you also have the .NET Framework 2.0 SP2 and 3.0 SP2 installed. Therefore, you will not be allowed to uninstall the .NET Framework 2.0 SP2 or 3.0 SP2 if you have the .NET Framework 3.5 SP1 installed. If you try to uninstall those versions of the .NET Framework, their uninstall processes will block and tell you that they are needed by another application on your system.

The .NET Framework 1.0 and .NET Framework 1.1 can be installed side-by-side with the .NET Framework 2.0, 3.0 and 3.5. Most applications that were created for the .NET Framework 1.0 or 1.1 will automatically use the .NET Framework 2.0 instead if it is installed on the system. In most cases, that means you do not need to keep the .NET Framework 1.0 or 1.1 installed on your system if you already have the .NET Framework 2.0 installed.

In short, it is a must to have have .NET Framework 2 and 3 installed for 3.5. As for .NET Framework 1.0 and 1.1, you can safely uninstall them. Do note that there are some applications that are configured to use specific versions of .NET even though you have the latest one installed. If you get that error, you can reinstall back the .NET Framework 1.0 / 1.1.

On my Windows Vista computer, I checked the Windows\Microsoft.NET\Framework folder and there is v1.0.3705, v1.1.4322, v2.0.50727, v3.0 and v3.5. It means that I have all that versions of .NET installed but the Programs and Features shows only Microsoft .NET Framework 3.5 SP1. It looks like the older versions are no longer being listed anymore. I believe this is better so not to create any confusion.

Technorati Tags: , , ,


Posted by 세모아
,