VS2019 Live Share guests cannot see solution projects or files

Steve Valliere 116 Reputation points
2023-02-27T18:21:35.1433333+00:00

We are just starting to learn to use Live Share. So far, it appears to work great for all of the "single project" solutions that we've tried. It also works fine for one of the two multi-project solutions that we have, but in our primary solution (where 95+% of our daily work is done) guests see only an empty solution instead of a solution containing 57 projects and hundreds of files.

I've been searching for quite a while, but have been unable to find any way to diagnose why Live Share doesn't "like" our solution. I turned on diagnostic logging for Live Share and see many errors logged, but they are meaningless to me, and do not appear to correspond with our solution but rather with establishing the session.

Could someone please direct me to documentation that will help me to figure out why Live Share is not sharing our solution (even between a host and guest running in separate VS2019 instances on the same computer, by the way)? Thank you, I hope! (smile)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,564 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,376 Reputation points Microsoft Vendor
    2023-02-28T07:46:37.8066667+00:00

    Hi @Steve Valliere

    Welcome to Microsoft Q&A! 

    Please try the following:

    1. Update your VS2019 to the latest version and get a stable Live Share release.
    2. Move projects and files to the same directory as the solution.
    3. The .gitignore file will prevent files from sharing to guests, please delete it.
    4. If it persists, please directly contact Live Share team

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.