This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15634|Reply: 2

Visual Studio 2019 offline download and installation tutorial

[Copy link]
Posted on 4/3/2019 10:54:40 AM | | | |
Visual Studio 2019 Enterprise Edition offline installation tutorial
https://www.itsvse.com/thread-7417-1-1.html
(Source: Architect_Programmer)



Microsoft gave VisualStudio 2019 an online installation tool, which requires input parameters through the command line to download offline

First, select the version of VisualStudio you need to download from the official website, and you can choose the Community Edition, Professional Edition, and Enterprise Edition. Only the community version is free



Address:The hyperlink login is visible.



If I choose Visual Studio Community Edition, the exe downloaded is vs_community.exe If I download Visual Studio Professional, the exe corresponding to Visual Studio Professional is vs_professional.exe Please replace the program used in the code in this article for the version you downloaded

The path to the deposit

Offline downloads require a designated folder to store the downloaded files, which can be downloaded to the input folder via --layout plus an absolute path

The following code sets the folder downloaded to the C drive, please modify this folder to a normal folder, note that this folder needs to have write permission on the current user

Add features

Optional features are added via --add

  • Microsoft.VisualStudio.Workload.Azure Azure development
  • Microsoft.VisualStudio.Workload.ManagedDesktop for desktop development
  • Microsoft. VisualStudio.Workload.NetWeb ASP.NET Core development
  • Microsoft.VisualStudio.Workload.NetCoreTools .NET Core development
  • Microsoft.VisualStudio.Workload.Universal UWP development


More features can be found on this page for Visual Studio Community workload and component IDs:The hyperlink login is visible.

Multiple features are added via multiple --adds, such as I need to choose .NET Core development, desktop development, and ASP.NET Core development while also UWP development, etc., I can write like this

Note that there can be no spaces on the command line, and the above code adds line breaks for ease of understanding

If you also need an option in a feature, such as I need the SDK for 17763 in UWP, you can download it from the Visual Studio Community workload and component IDs (The hyperlink login is visible.) to find the corresponding function, and also add it by --add

Multilingual

Multilingualism can be added via --lang

If you add Chinese is zh-CN and English is en-US, you can add more languages through --addProductLang

The following code is to add Chinese as the main language and English at the same time

So a download. NET Core development, desktop development, ASP.NET Core development, UWP development, etc., the command downloaded to F:\Download\vs\vslayout can be written like this

For other languages, see Use command-line parameters to install Visual Studio:The hyperlink login is visible.

Add all the features

If you want to add all the features, then remove --includeOptional and see the code


It takes a long time to download the English version of the full-featured VisualStudio command in c:\vslayout

Download the recovery

If you download half of it and then shut down and need to restore it, you can try to use --fix to fix it, the usage is to enter the same command to download offline and add --fix after the command

Install offline download

Open the corresponding installation file in the offline downloaded folder through the command line, if I am using the community version, download to F:\Download\vs\vslayout can be installed through the following command

Note that the --add added here needs to be the same as the one entered when downloading above





Previous:Use CefSharp to access websites in C#
Next:java reflection gets the properties and values of the Object
Posted on 4/3/2019 2:18:39 PM |
2019, so fast?
Posted on 4/4/2019 9:40:31 AM |
Visual Studio 2019 Enterprise:
BF8Y8-GN2QH-T84XB-QVY3B-RC4DF
Visual Studio 2019 Professional:
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com