WinFormsComInterop
WinFormsComInterop copied to clipboard
.NET 8.0. "Failed to launch design tools server process"
Hi. I'm creating a Windows Forms .NET 8.0 project. Then "dotnet add package WinFormsComInterop". After adding lines
PublishAot... _SuppressWinFormsTrimError...
an error appears, the form does not load, the Toolbox is empty. There was no such error in the .NET 7.0 project.
Visual Studio 2022, version 17.8.3.
Same issue
My first guess is that designer do not play well with NativeAOT. There nothing I can do here. Maybe on Debug you will have non AOt setup and on Release you will apply publishing settings. That way you will have designer