A community member has associated this post with a similar question:
Visual Studio 2022 Designer Errors with .NET Core Windows Forms apps
Only moderators can edit this content.
Visual Studio 2022 Designer Errors with .NET Core Windows Forms apps
I have noticed that as I am designing .NET Core Windows applications in Visual Studio 2022, it frequently yet randomly shows the error in the attached image. This usually comes up when I make changes to the form code (even if it doesn't affect any controls) or if I leave the VS instance sitting for a while (without making any changes at all). When this error happens, this message shows up in the Windows Forms Output window:
[15:41:05.528379] warn: Cannot update selection in server process as Session is not connected.
This is not happening in our VS 2019 installs, and I could not find any similar complaints. There is also no description of the error, no stack trace, nothing. What could be happening here?