简体   繁体   English

如何将.NET Framework 3.5 SP1安装到Visual Studio 2017中

[英]How to install .NET Framework 3.5 SP1 into Visual Studio 2017

I am migrating a project from VS 2008 to VS 2017. 我正在将一个项目从VS 2008迁移到VS 2017。

When I opened the project in VS2017 I was prompted if I wanted to update it to 4.6.1, or keep it as 3.5. 当我在VS2017中打开项目时,系统会提示我是否要将其更新为4.6.1,或将其保持为3.5。

I chose to keep it at 3.5 and a browser window opened to this page: https://www.microsoft.com/net/download/visual-studio-sdks 我选择将其保持在3.5,并在此页面打开浏览器窗口: https//www.microsoft.com/net/download/visual-studio-sdks

Presumably that is to download 3.5. 想必那就是下载3.5。 However, there is no "Developer Pack" for 3.5. 但是,3.5没有“Developer Pack”。

在此输入图像描述

So I don't have clear idea of what to do. 所以我不知道该怎么做。

Here are some additional notes: There is not solution file in this project. 以下是一些附加说明:此项目中没有解决方案文件。 I opened it in VS2017 using File -> Open -> Website... 我使用File -> Open -> Website...在VS2017中打开它File -> Open -> Website...

I am willing to update to 4.6.1. 我愿意更新到4.6.1。 I am deploying to IIS 8.0.9200 if anyone has additional tips on updating to 4.6.1. 我正在部署到IIS 8.0.9200,如果有人有关于更新到4.6.1的其他提示。

I am a long time coder, but I am new to windows development so if your answers can use terminology that I see on the screen then it will be helpful for me to understand the answers. 我是一个很长时间的编码器,但我是Windows开发的新手,所以如果你的答案可以使用我在屏幕上看到的术语,那么我将有助于理解答案。

to move forward I choose to update to 4.6.1 because the screen explicitly stated I could move back to 3.5. 为了向前推进,我选择更新到4.6.1,因为屏幕明确说明我可以回到3.5。

You should install the .NET 3.5 development tools using the Visual Studio Installer. 您应该使用Visual Studio Installer安装.NET 3.5开发工具。

Instructions: 说明:

  1. Close Visual Studio (the next step will close it for you, but it's better to close it yourself so you are in a known state). 关闭Visual Studio(下一步将为您关闭它,但最好自己关闭它,以便您处于已知状态)。
  2. Open the Visual Studio Installer (search for it in the Start menu). 打开Visual Studio Installer(在“开始”菜单中搜索它)。
  3. Choose to modify the installation you desire. 选择修改所需的安装。
  4. Go to the "Individual Components" tab. 转到“单个组件”选项卡。
  5. Under the ".NET" section choose ".NET Framework 3.5 Developer Tools". 在“.NET”部分下,选择“.NET Framework 3.5 Developer Tools”。
  6. Click "Modify" in the bottom right corner to apply the changes. 单击右下角的“修改”以应用更改。

You may also need to turn on the Windows Feature .Net Framework 3.5 (includes .NET 2.0 and 3.0) . 您可能还需要打开Windows功能.Net Framework 3.5(包括.NET 2.0和3.0)

I had the same issue. 我遇到过同样的问题。 Go to Windows Control panel over there add features to windows. 转到Windows控制面板,在那里添加功能到Windows。 Then check .NET framework 3.5. 然后检查.NET framework 3.5。 Done! 完成! https://improveandrepeat.com/2018/07/an-alternative-way-to-install-net-3-5-on-windows-10/ https://improveandrepeat.com/2018/07/an-alternative-way-to-install-net-3-5-on-windows-10/

(you should also check if you already haven't ".NET 3.5 development tools" using the Visual Studio Installer.) (您还应该使用Visual Studio Installer检查您是否已经没有“.NET 3.5开发工具”。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用.Net 2008应用程序自动安装.NET Framework 3.5 SP1 - Automatically install the .NET framework 3.5 SP1 with .Net 2008 application Visual Studio 2008安装项目警告“找不到先决条件” .Net Framework 3.5 SP1” - Visual Studio 2008 Setup Project warning “Could Not find prerequisite ”.Net Framework 3.5 SP1" visual Studio 2010-添加对.net 3.5 SP1的支持 - visual Studio 2010 - Adding support for .net 3.5 SP1 Visual Studio 2010可以测试.net 3.5 SP1项目吗? - Can Visual Studio 2010 Test .net 3.5 SP1 Projects? 如何序列化.NET远程处理(.NET Framework 3.5 SP1)的数据集? - How to serialize dataset for .NET remoting (.NET Framework 3.5 SP1)? 在Windows 7下如何“安装” /“启用” .Net 3.5 SP1? - How to “Install”/“Enable” .Net 3.5 SP1 under Windows 7? .NET Framework 3.5 SP1中的MVC 4应用程序 - MVC 4 application in .net framework 3.5 SP1 Visual Studio 2010 SP1和.NET Framework的更改 - Visual Studio 2010 SP1 and Changes to the .NET Framework 如何在没有 .NET 3.5 SP1 的情况下在 Windows Vista 上安装 .NET 2.0 SP2? - How do I install .NET 2.0 SP2 without .NET 3.5 SP1 on Windows Vista? 检测.NET Framework 3.5 SP1依赖性(cmp.3.5 w / o SP1) - Detect .NET Framework 3.5 SP1 Dependency (cmp. 3.5 w/o SP1)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM