Search⌘ K
AI Features

Reviewing the Folders and Files for Project and Looking for Help

Explore the structure of project folders and files in Visual Studio and Visual Studio Code, and learn how to mix tools for multi-project management. Understand how to effectively use the 'Go To Definition' feature for accessing type and member definitions in C#. Discover how to find help with the dotnet command-line tool and consult Microsoft Docs for comprehensive support.

We have created two projects named HelloCS and AboutMyEnvironment. Visual Studio Code uses a workspace file to manage multiple projects. Visual Studio 2022 uses a solution file to manage multiple projects. We have also created a .NET Interactive notebook.

Folders and files structure

The result is a folder structure and files that will be repeated in subsequent sections, although with more than just two projects, as shown in the figure.

Folder structure and files for the two projects
Folder structure and files for the two projects

Understanding the common folders and files

Although .code-workspace and .sln files are different, the project folders and files, such as HelloCS and AboutMyEnvironment, are identical for Visual Studio 2022 and Visual Studio Code. This means that we can mix and match between both code editors if we like:

  • In Visual Studio 2022, with a solution open, navigate
...