Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
UserY1 opened this issue Dec 18, 2023 · 2 comments
Open

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

UserY1 opened this issue Dec 18, 2023 · 2 comments

Comments

@UserY1
Copy link

UserY1 commented Dec 18, 2023

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

@thepwrtank18
Copy link

Same issue

@kant2002
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants