.NET 5/6 has an out-of-process WinForms Designer and docs for its SDK were promised for the first quarter of 2022:
There is a breaking change difference in how Designers work in Framework and .NET, so neither is this a bug, nor is it supposed to work this way.
To create a Designer for VS and .NET, you would need to use the WinForms Designer SDK. The reason is (simplified), that the Designer needs to run in the context of the Form (or the UserControl), which is .NET and not Framework. But VS is Framework. So, for the .NET Designer, there are two processes: The Client Process (Visual Studio, Framework) and a dedicated Server process (.NET) which is called the DesignToolsServer. So principally, and depending on what you need to do, you'd need to provide a NuGet which VS picks up, which holds the code for both the Server and the Client Process. And since the control and most part of the Designer logic is created in the Server process, anything Dialog-UI related needs to be marshalled from the Server process, which is not supposed to handle any dialogs due to potential dead lock concerns, back to the VS-Client.
Docs for the SDK are in the making, they are on our roadmap for the first quarter of this year.
Originally posted by @KlausLoeffelmann in #4451 (comment)
@KlausLoeffelmann First quarter of 2022 is over. Are docs for .NET WinForms Designer SDK ready?
.NET 5/6 has an out-of-process WinForms Designer and docs for its SDK were promised for the first quarter of 2022:
@KlausLoeffelmann First quarter of 2022 is over. Are docs for .NET WinForms Designer SDK ready?