我已经安装了 Microsoft Visual Studio 2008 SP1 和 VS 2010 SP1。我正在使用 Windows 7。
然后,我在控制面板中的已安装程序中注意到只有以下是已安装的 .NET Framework:
由于某些原因,当我为 Visual Studio 2008 安装 PowerCommands 时,它说我需要安装 .NET Framework 3.5。
当我尝试使用 dotnetfx35.exe 时,它只是解压缩安装程序,但不会继续安装过程。
这仅仅是因为我使用的是 Windows 7 吗?或者是否有设置 .NET Framework 3.5 的正确方法?
谢谢!
最佳答案
较新的操作系统(Windows 7+ afaik)不(不能)使用 .NET 3.5 框架的安装文件。此外,3.5 框架不一定显示在添加/删除程序中。相反,您“打开”了该功能。另一个细节是 .NET 3.5 包括 3.0 和 2.0 框架。换句话说,.NET framework 3.0 和 2.0 不需要单独安装。
在 Windows Server 2008 R2 中“添加”/验证 .NET 3.5 的安装:
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".
该过程在 Windows 7 中应该类似。
关于visual-studio-2010 - 无法安装 .NET Framework 3.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10662131/