live-share
live-share copied to clipboard
Solution Explorer/Files: A specific folder is not available(Views), if name is changed it becomes available
Describe what happened: VS 2022 on Windows 10 - Live Sharing to Web / Linux VSCode A folder named Views within a project is not showing on Linux/Web Changing the name to xViews - it suddenly becomes available Renaming to Views - it disappears
We have tested using the folder name 'Views' in another project and this is fine...
EDIT - most likely a different BUG: to attempt a fix to the above installing VS Community and trying again on a Windows PC - I am now restricted to only one project within the Solution...?
What was your system configuration? Product and Version [VS/VSCode]: 1.74.1 OS Version[macOS/Windows]: Linux Ubuntu 22.04 Live Share Extension Version: 1.0.5788 Target Platform or Language [e.g. Node.js]: C#
Steps to Reproduce / Scenario:
- Go to Explorer - View Visual Studio Live Share (Workspace)
- Click on - the offending Project in the App
- View List of Folders - The Folder 'Views' is not present
- Views in present on the Live Sharing Machine
- Changing Views to xViews on the Live Sharing Machine
- xViews is now available on Linux
Refactoring our code to change all namespaces just give access to the Views folder is not ideal for us
Please attach logs to this issue: 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 If applicable, add screenshots to help explain your problem.
We have tested using the folder name 'Views' in another project and this is fine...
What type of project is the one that's affected? (Console, ASP.NET, etc)
If you share the same project but join it from web on Windows, does the same issue occur?
Hi - it's a WPF application, we have also noticed that some of the SQL files that are stored in the project also do the same thing - they are present in the original project but are not available in the desktop or web version. This is also true on Windows and Linux
Is Views in your .gitignore or a exclude setting (https://learn.microsoft.com/en-us/visualstudio/liveshare/reference/security#controlling-file-access-and-visibility) by chance?
Interesting, some of the backup folders that have the same structure with a folder called Views is in the .gitignore and there is a folder with that path, though the folder has been getting uploaded to Git... I'll try again now that I have removed this entry