...

/

Reviewing the Folders and Files for Project and Looking for Help

Reviewing the Folders and Files for Project and Looking for Help

Learn how to find quality information about programming on the web.

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.

Press + to interact
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 to “File | Add Existing Project…” to add a
...