Cannot install .NET Framework 3.5

.net-3.5visual studio 2010visual-studio-2008windows 7

I already have installed Microsoft Visual Studio 2008 SP1 and VS 2010 SP1. I'm using Windows 7.

Then, I noticed in my Installed Programs in Control Panel that only the following were the installed .NET Frameworks:

  • Microsoft .NET Compact Framework 2.0 SP2
  • Microsoft .NET Compact Framework 3.5
  • Microsoft .NET Framework 4 Client Profile
  • Microsoft .NET Framework 4 Extended.

For some reasons, when I was installing PowerCommands for Visual Studio 2008, it says that I need to install .NET Framework 3.5.

When I tried to use dotnetfx35.exe, it just unpacks the installer, but doesn't proceed with the setup process.

Is this just because I'm using Windows 7? Or is there a proper way of setting up .NET Framework 3.5?

Thanks!

Best Answer

Newer operating systems (Windows 7+ afaik) do not (cannot) use installation files for the .NET 3.5 framework. Also, the 3.5 framework does not necessarily show in add/remove programs. Instead, you "turn on" the feature. Another detail is that .NET 3.5 includes 3.0 and 2.0 frameworks. In other words, .NET framework 3.0 and 2.0 do not require separate installs.

To "add"/verify installation of .NET 3.5 in Windows Server 2008 R2:

Go to Control Panel > Programs > Turn Windows Features on or off > Roles > Add Role Service (little button off to the right) > Ensure ".NET Framework 3.5.1" is checked > Click "next" until you can click "install".

The process should be similar in Windows 7.