visual-studio-2010 - 无法安装 .NET Framework 3.5

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

我已经安装了 Microsoft Visual Studio 2008 SP1 和 VS 2010 SP1。我正在使用 Windows 7。

然后,我在控制面板中的已安装程序中注意到只有以下是已安装的 .NET Framework:

  • Microsoft .NET Compact Framework 2.0 SP2
  • Microsoft .NET Compact Framework 3.5
  • Microsoft .NET Framework 4 客户端配置文件
  • Microsoft .NET Framework 4 扩展。

  • 由于某些原因,当我为 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/

    相关文章:

    web-services - VS 2010 SP1 是否更改了从 VSTO 加载项中获取 .config 文件的位置?

    c++ - 通过套接字发送文件太慢

    c++ - 你能在 VS2008 中为 C++ 自动启动自动完成功能吗?

    c++ - 在 vs2008 SP1 中禁用检查迭代器时出现问题 (_HAS_ITERATOR_DEBUGGING=0)

    css - Windows 上的 Chrome 中的日期输入宽度

    c# - 在 Visual Studio 安装项目中获取程序数据的路径

    c# - 在两个项目之间共享 XML 文件?

    svn - "Inconsistent line ending style"噩梦

    asp.net - 用于创建事件处理程序 stub 的 Visual Studio 键盘快捷键

    unicode - 将Unicode字符打印到PowerShell提示符