live-share
live-share copied to clipboard
Solution explorer not listing subfolder in a project (.csproj)
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:
- Create a new console app project
- Add a new library project to the solution - place the library below the path where the sln of the console app project lies.
- In the library project, add a folder, and add a class to the folder
- 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
and this the solution explorer on the machine that hosts the live share session
Note the missing Subfolder1
and Subfolder2
and their contents.
Same problem here