'Equivalent to Solution Folders in VS Code

In Visual Studio, one can create "Solution Folders" to group different .NET projects into a virtual folder. Is there any equivalent solution for VS Code?

I've tried installing the extension vscode-solution-explorer, but it doesn't support virtual folders.



Solution 1:[1]

The extension that you mentioned seems to work.

Load an existing solution, right click in the solution file > "create new folder" . A virtual folder will be created. Then, add an existing project to solution and move it to the virtual folder.

Solution 2:[2]

The extension vscode-solution-explorer supports virtual folder. Here are the steps:

  1. Search and install (extension id):

    fernandoescolar.vscode-solution-explorer
    
  2. Looking in sidebar for last icon named "Solution":

    Solution Explorer VS Code

  3. Click right button in file .sln and choice Create folder:

    Create Folder = New Solution Folder in Visual Studio

  4. Choice name and press enter:

    Name Solution Folder

  5. Drag yours projects for solution folder.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Magnetron
Solution 2 Wtower