WinFormsComInterop icon indicating copy to clipboard operation
WinFormsComInterop copied to clipboard

.NET 8.0. "Failed to launch design tools server process"

Open UserY1 opened this issue 1 year ago • 2 comments

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.

Буфер обмена04_2 Буфер обмена04

UserY1 avatar Dec 18 '23 16:12 UserY1

Same issue

thepwrtank18 avatar Jan 28 '24 23:01 thepwrtank18

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

kant2002 avatar Jan 29 '24 05:01 kant2002