You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Blazor Hybrid with Windows Forms and NativeAOT compilation, event bindings (@OnClick etc.) stop working although the UI renders correctly. The binds work correctly without NativeAOT.
Neither WinForms or Blazor are compatible with full trimming and native AOT currently. It is expected that it is not going to work well. You can follow related issues in WinForms and ASP.NET repos: dotnet/winforms#4649, dotnet/aspnetcore#49409, dotnet/aspnetcore#51598
When using Blazor Hybrid with Windows Forms and NativeAOT compilation, event bindings (@OnClick etc.) stop working although the UI renders correctly. The binds work correctly without NativeAOT.
xml files that I used in my project: https://pastebin.com/raw/vhW37bYT
NativeAOT compiling logs: logs.txt
MainForm.cs:
Main.razor:
The text was updated successfully, but these errors were encountered: