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

Winforms NativeAOT #10208

Closed
dadavadd opened this issue Oct 28, 2023 · 6 comments
Closed

Winforms NativeAOT #10208

dadavadd opened this issue Oct 28, 2023 · 6 comments

Comments

@dadavadd
Copy link

Are there any plans to optimize WinForms for NativeAOT? Or will this never happen?

@ghost ghost added the untriaged The team needs to look at this issue in the next triage label Oct 28, 2023
@ghost
Copy link

ghost commented Oct 28, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

Are there any plans to optimize WinForms for NativeAOT? Or will this never happen?

Author: dadavadd
Assignees: -
Labels:

untriaged, area-NativeAOT-coreclr

Milestone: -

@Symbai
Copy link

Symbai commented Oct 28, 2023

Are there any plans to optimize WinForms for NativeAOT? Or will this never happen?

Wrong repo: https://github.com/dotnet/winforms/issues. And yes, its unlikely. Has been asked tons of times already. Use search function for more details. The only desktop UI framework that officially works with AOT is Avalonia, then there is https://github.com/kant2002/WinFormsComInterop which may work but its not an official solution.

@Sergio0694
Copy link

"The only desktop UI framework that officially works with AOT is Avalonia"

UWP has been using AOT (via .NET Native) for like 10 years now, if we're going to just name all of them let's not forget that too 😄

WinUI 3 is also planned to get AOT support shortly (via NativeAOT).

@danmoseley danmoseley transferred this issue from dotnet/runtime Oct 28, 2023
@danmoseley
Copy link
Member

I’m curious whether there’s insurmountable technical reasons or it’s more about the work required.

cc @eerhardt

@elachlan
Copy link
Contributor

There is a large effort happening in winforms at the moment to enable AOT/trimming.

See #4649

@merriemcgaw
Copy link
Member

@danmoseley it's about how much work there is to make this happen. That said, we're really focusing right now on the fundamentals that will enable AOT and Trimming over the next release or two. We've got lots of folks asking for it and the team is in agreement about how important the work is for us.

I am going to close this issue, in favor of the one @elachlan linked. That's the parent issue we're using as we work through getting this enabled.

@ghost ghost removed the untriaged The team needs to look at this issue in the next triage label Oct 30, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Nov 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants