Visual Studio 2022 Installation Instructions
Verification environment
- Windows
-
- Windows 11
- Visual Studio
-
- Visual Studio Community 2022
At first
This section describes the installation procedure for the tool "Visual Studio 2022" for developing programs.
In this procedure, we are using the "Community" version, but the installation procedure is the same for Professional and Enterprise, except that the means of obtaining it are DVD or ISO.
Visual Studio Community 2022 is free for personal development purposes, but please note that there are restrictions on corporate use such as companies.
Advance preparation
- Get a Microsoft account on the Microsoft site beforehand. If you've created your Windows sign-in account as a Microsoft account in Windows 10 and later versions, you're good to go.
- Since you are installing the tool, sign in to Windows with an account that has administrator privileges.
Installation Instructions
download
Download the installer from the following website: The contents of the actual installation are downloaded during installation, so the download of the installer itself is completed immediately.
Click Download Visual Studio.
Installer launch
Run the VisualStudioSetup.exe
downloaded .
You will be asked for administrator privileges, so select "Yes".
Click Continue. Wait for the installer to complete as it updates.
workload
The installation screen appears. Visual Studio 2022 doesn't install all features, but you can choose which features to install depending on your development objectives.
Some of the key developments include:
- I want to create a program that runs on the Internet or other websites.
-
- ASP.NET and Web Development
- Azure development
- Node.js development
- I want to create a program that runs on Windows.
-
- .NET Desktop Development
- Universal Windows Platform Development
- I want to create a program that runs on smartphones and other operating systems.
-
- UI development for .NET multi-platform apps
- I want to make a game.
-
- Game development with Unity
- Game development with C++
This time, you can easily make ". NET Desktop Development. If checked, the item to be installed will be added to the right side.
Individual Components
For Workload, you can determine the general installation items, but if you want to determine the installation items in detail, select Individual Components.
If you don't know the details, you can skip it. It is also possible to install additional installations later.
Start Installation
When you finish checking the box, click the "Install" button at the bottom right. The installation will be carried out while downloading the necessary files. It will take some time, so wait for a while until it is completed.
When the installation is complete, Visual Studio starts. You can close the previous installer screen. The first time you start Visual Studio, you'll be prompted for an account, so sign in with the Microsoft account you already have. (You can also do it later.)
If you have set up two-factor authentication, enter them accordingly.
Once you're signed in, you'll be taken to the project creation screen. This completes the installation and initial setup. By the way, the design of the screen may change depending on the settings of the account you signed in to.
Creating and running a project
I would like to try running the program. Select "Create a new project" in the bottom right.
For the time being, I would like to display the screen, so set the above search items to "C#", "Windows", and "Desktop", respectively, select "WPF Application", and click the "Next" button.
The name of the program you want to create is the name of the project. The name of the program that is actually shown to the user can be changed later, so it is safer to enter alphanumeric characters as an internal name. Specify any folder path to create the program. After entering, click the "Next" button.
If you don't have any additional information, you can leave it as it is. Click the "Create" button.
After a few moments, the actual development screen will appear. From here, we will design the screen and develop the program, but first check whether the program works.
There is a button of "▶(project name)" on the toolbar, so click it.
Then a window appeared. Also, I haven't edited anything, but I was able to confirm that the program works for the time being. You can stop the program by closing the window that appears.
Your development environment is now in place. From here, you can freely create a program according to your purpose.