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

Paul McConnell 10 Reputation points
2023-02-02T21:14:58.82+00:00

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?

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