cannot install .NET Framework 3.5

你。 提交于 2019-12-22 04:16:18

问题


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!


回答1:


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.




回答2:


Even though You have installed DOTNET 4.0 version for some applications you need 3.5 .net framework.

Just download and install DOT NET 3.5 SP1 (not just 3.5) from here 1 here

(Note: Refer Stack Overflow - .dot net framework for more details!)



来源:https://stackoverflow.com/questions/10662131/cannot-install-net-framework-3-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!