Visual Studio 2019安装

Visual Studio 2019安装最重要的部分:

在下面链接中下载Visual Studio bootstrapper

Create an offline installation - Visual Studio (Windows) | Microsoft Docs

Use the command line to create a local layout

Download the bootstrapper for the edition of Visual Studio you want and copy it into the directory that you want to serve as the source location of your local layout. Once the layout is created, you can use it to install Visual Studio. The bootstrapper is the executable that you use to create, update, and perform other Visual Stusio installation operations. You must have an internet connection to complete this.

Step 1 - Download the Visual Studio bootstrapper

The bootstrappers listed below will always install the latest most secure version of Visual Studio 2019, no matter when you run them. Alternatively, if you want to install a specific version of Visual Studio 2019, go to the Visual Studio 2019 Releases page that has links to the fixed version bootstrappers for each servicing release, and download the one you want. Copy it into the directory that you want to serve as the location of your local layout.

EditionBootstrapper
Visual Studio 2019 Professional version 16.11vs_professional.exe
Visual Studio 2019 Enterprise version 16.11vs_enterprise.exe
Visual Studio 2019 Build Tools version 16.11vs_buildtools.exe

Visual Studio 2019教程:

Tutorial: Tour of the Visual Studio IDE | Microsoft Docs

Visual Studio 2017安装:

Create an offline installation - Visual Studio (Windows) | Microsoft Docs

Step 1 - Download the Visual Studio bootstrapper

To get the latest bootstrappers for Visual Studio 2017 version 15.9, download one of the files below. These bootstrappers will always install the latest version of Visual Studio 2017, no matter when you run them.

EditionBootstrapper
Visual Studio 2017 Professional version 15.9vs_professional.exe
Visual Studio 2017 Enterprise version 15.9vs_enterprise.exe
Visual Studio 2017 Build Tools version 15.9vs_buildtools.exe

### 如何安装或下载 Visual Studio 2019 #### 下载资源 Visual Studio 2019 的官方下载链接可以通过微软官方网站获取。具体的下载地址为: ```plaintext https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=Professional&rel=16 ``` 此链接适用于 Professional 版本的 Visual Studio 2019[^1]。 对于社区版(免费版本),可以访问以下页面进行下载: ```plaintext https://learn.microsoft.com/zh-cn/visualstudio/releases/2019/system-requirements#download ``` 这是 Microsoft 提供的正式文档中的下载入口[^3]。 #### 安装过程注意事项 如果之前已经安装过其他版本的 Visual Studio,在安装 Visual Studio 2019 前可能需要清理旧版本以避免冲突。具体操作如下: 通过桌面搜索栏找到 **Visual Studio Installer**,这是一款用于管理 Visual Studio 不同版本安装和卸载的应用程序。打开该工具后,选择目标版本并点击“更多”,随后选择“卸载”选项即可完成旧版本的移除工作[^2]。 #### 开始安装 在成功下载安装包之后,双击运行 `.exe` 文件启动安装向导。按照提示逐步配置所需的开发环境组件,例如 .NET 工具集、C++ 支持或其他特定的工作负载。 以下是 Python 脚本的一个简单示例,展示如何自动化检测本地是否存在 Visual Studio 2019 并尝试调用其路径: ```python import os def check_vs_2019_installed(): vs_path = r"C:\Program Files (x86)\Microsoft Visual Studio\2019" if os.path.exists(vs_path): print("Visual Studio 2019 is installed.") else: print("Visual Studio 2019 is not found.") check_vs_2019_installed() ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

qq_16215957

如果有帮助一杯咖啡奶茶均可

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值