Installing Visual Studio

We will create the sample programs provided in this section using Visual Studio Community 2017. 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, you will be asked to restart your computer.

Restart computer dialog box

Make sure you have saved any other work you were doing, and click on the Restart button. And that's basically it. Once your computer restarts, you can start using Visual Studio!