How to install Visual Studio 2019 Community Edition

Visual Studio 2019 Community Edition can be installed like any other Windows application.

Note that you need administrator rights during the installation process. These rights will not be required when developing with Visual Studio later.

To install the Visual Studio 2019 Community Edition, you can choose between the following three different Visual Studio 2019 installation modes:

  • The express installation installs all of the components that are considered default components by Microsoft in an easy and quick way. These components are found on the default Workloads tab and are conveniently grouped into Windows, web and cloud, mobile and gaming, and other toolsets, which are all available for you to install by just selecting the respective checkboxes. If you need specific Visual Studio features that aren't in this list, then you need to use the custom installation.
  • The custom installation option gives you complete choice over every Visual Studio 2019 feature you can install. You may, for instance, install complementary features such as Visual C++, F#, SQL Server Data Tools, the mobile platform, and several other SDKs, as well as specific language packs through the Individual components, Language packs, and Installation locations tabs. Install groups in the VS Installer are called workloads.
  • When using the offline installation, you can install Visual Studio 2019 without having a network connection. This is very handy when you cannot connect to the internet and nonetheless want to prepare a developer machine. In this case, you have to prepare external support, such as a mobile hard disk or a USB key, and put the Visual Studio 2019 installer files on it beforehand.

One way to prepare such external support is to download the necessary Visual Studio installer (Community, Professional, or Enterprise Edition) from the Visual Studio website, https://www.visualstudio.com/downloads/, and extract its contents into a folder. Then, you can retrieve the various install packages by executing the <executable name> --layout command in a command-line window. After some time, everything will be downloaded and you'll have external support that can be used for offline installations.

Note that you can use the same procedure to download all of the installation files to your central network storage and then create a shared folder so that you can install Visual Studio 2019 from within your own network to optimize installation times and lower network bandwidth needs.

Now, let's learn how to install Visual Studio 2019 Community Edition manually using the setup program downloaded from the Microsoft Visual Studio website we mentioned previously:

  1. Start the Visual Studio 2019 Community Edition setup program. You will see a list of various installable workloads. By default, you will see Windows, Web and Cloud, Mobile and Gaming, and Other Toolsets

  1. Choose your desired components – they will be installed in the following steps. If that is all you need, then you don't need to do anything else. As we explained previously, this is the express installation process.
  1. If you need to customize installed components or add or remove individual components, then you have to click on Individual components. From here, you will be doing a custom installation:

  1. You may want to choose your own language, depending on the availability of the prescribed Language packs. This tab currently has Chinese, Czech, English, French, German, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, and Turkish as available options. You may also want to specify your custom installation path, and that can be done from the Installation locations tab.
  2. When you have finished selecting your desired workloads and components, the installation will start. The installation time is dependent on the number of workloads and components you have selected, as well as your internet connection speed if you are not using the offline installation method we described previously.

For more advanced scenarios, such as automating and scripting the Visual Studio 2019 installation, you can start the setup program via the Command Prompt. There are a variety of command-line parameters that can help us define what needs to be installed, and where.

The following is a list of some of the command-line parameters that are available, along with a brief description of what they do. Please go to https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio to find out more, including a full list of all the existing command-line parameters in addition to the ones described as follows:

Parameter

Description

/AddRemoveFeatures

This adds the features that have been selected

/AdminFile

This specifies a file to install silently

/CreateAdminFile

This specifies that you wish to generate a silent response file after your installation

/CustomInstallPath

This specifies the target path

/ForceRestart

This forces your PC to restart

/Full

This installs all the necessary features

/noweb

This disables internet searching features and downloading

/ProductKey

This specifies the key to be used

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.8.8