Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
strauss_d_getting_started_with_visual_studio_2022_learning_a.pdf
Скачиваний:
123
Добавлен:
26.06.2023
Размер:
17.04 Mб
Скачать

Chapter 2 Working with Visual Studio 2022

Visual Studio Project Types

Visual Studio 2022 allows developers to create a new project in several ways. The most obvious is when you start Visual Studio 2022. You are presented with the Start screen, as seen in Figure 2-1.

Figure 2-1.  Visual Studio 2022 Start screen

Here, you can see recent projects that you can pin to the Start screen and always keep available. If you right-click any recent projects, you can see a context menu pop up, as shown in Figure 2-2.

Figure 2-2.  Context menu options on recent projects

66

Chapter 2 Working with Visual Studio 2022

You can remove the project from the list, pin or unpin it, or copy the path to the project. Visual Studio 2022 has also made it relatively easy to get where you need to when working on projects. As seen in Figure 2-3, developers have a few options available when they are ready to start working with code.

Figure 2-3.  Get started section

You can start by grabbing code from GitHub or Azure DevOps, opening a local Visual Studio project, opening a local folder to edit code files, creating a new project, or continuing without code.

If Visual Studio is already open, you can create a new project from the menu bar by clicking the New Project button, as seen in Figure 2-4. You can also hold down Ctrl+Shift+N.

Figure 2-4.  New Project toolbar button

67

Chapter 2 Working with Visual Studio 2022

The Create a new project screen is displayed, as seen in Figure 2-5, and you have a whole new experience here, too, when it comes to finding the project type you want to create.

Figure 2-5.  Create a new project

You can see recent project templates displayed, which is excellent, should you need to get up and running with similar projects as what you have created before. You can also search for and filter project templates by language, platform, or project type, as seen in Figure 2-6.

68