Share via

重复错误warn: Cannot update selection in server process as Session is not connected

2023-12-07T03:05:42.4566667+00:00

我今天在使用Visual Studio 2022的时候突然发现.NET desktop development无法被正确加载,但仅限这一个项目。报错提示warn: Cannot update selection in server process as Session is not connected,据论坛所示重启程序和电脑,发现都无法解决。他也并无其他报错,我无法从报错信息中提取任何信息,也无法在网站查找到任何有效的解决方法,我希望得到相关帮助,谢谢

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,201 Reputation points Microsoft External Staff
    2023-12-07T10:29:40.0133333+00:00

    Hi @Семёнович Василий Иванов, 

    Welcome to Microsoft Q&A!

    Please close all running VS instances and rename (or delete) every ComponentModelCache folders under this path: C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\17.0_XXXXX. Then, re-run VS as administrator and check it again.  

    If it doesn’t work, please share us some screenshots about the error to investigate it further. 

    By the way, please edit your question into English so that we can help solve your issues, thanks for your understanding. 

    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.

     

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.