live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Solution explorer not listing subfolder in a project (.csproj)

Open ssteiner opened this issue 2 years ago • 1 comments

I'm using LiveShare in VS 2022 for shared development. In the solution explorer on the remote machine, subfolders are only shown for projects that are in the path of the .sln. If you add a library that's in another path, the solution explorer on the remote machine shows only the root of the folder, not any subfolders and their content.

What was your system configuration? Product and Version [VS/VSCode]: VS 2022 v 17.3.1 OS Version[macOS/Windows]: Windows 11 Pro Live Share Extension Version: 1.0.5680.0 Target Platform or Language [e.g. Node.js]: .NET 6.0 / CSharp

Steps to Reproduce / Scenario:

  1. Create a new console app project
  2. Add a new library project to the solution - place the library below the path where the sln of the console app project lies.
  3. In the library project, add a folder, and add a class to the folder
  4. Start a live share session. On the remote machine, open the solution explorer, and expand the class library project. Note that while you see Class1.cs, you do not see subfolders of the class library, nor their contents.

Please attach logs to this issue: Would love to do so, however, control-shift-p seems VS Code specific, I'm in VS. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue

Screenshots this is the solution explorer on the remote machine

image

and this the solution explorer on the machine that hosts the live share session

image

Note the missing Subfolder1 and Subfolder2 and their contents.

ssteiner avatar Aug 16 '22 19:08 ssteiner

Same problem here

LinconlG avatar Aug 17 '22 12:08 LinconlG