Installing Visual Studio

We will create the sample programs provided in this section using Visual Studio Community 2019. Before we can write any programs, we need to install and configure the IDE. If you have not already done so, download the installation app and double click on the executable file (Windows will ask you to confirm that you are OK with the app making changes to your device). Once the installation begins, you will see the following dialog box:

Microsoft privacy statement dialog box

Unless you are one of those rare people who actually reads privacy statements, just click on the Continue button. You should now see another dialog box with a progress bar and a message telling you that something is happening . . .

Dialog box with progress bar

You don't need to do anything further until you see the screen below (this could take a minute or two). This screen allows you to choose a "Workload". For our purposes we only need the .Net Desktop Development workload, so make sure the checkbox for this workload is selected as shown, then click on the Install button.

Workload selection screen

The installation app will now download and install the required components This could take a while, so now might be a good time for a coffee break!

Installation progress screen

Once the installation app has finished downloading and installing files, and depending on which installation options you chose, you may be asked to reboot your computer, or Visual Studio will be launched automatically, or you may see a dialog box telling you that the installation has succeeded, and inviting you to launch Visual Studio.

Installation succeeded dialog box

If you are required to restart your computer, make sure you have saved any other work you were doing, and click on the Restart button. Once your computer restarts, or if you see the dialog box displayed above, you can start using Visual Studio!