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
I manage to work WinForms in NativeAOT context using global ComWrappers, and made attempt to do the same, but hit a roadblock with Marshal.ReleaseComObject. See dotnet/runtime#54317 for more information.
Having ComWrappers for this repo make WPF more a tiny bit more friendly for IL Trimming.
I'm willing to follow advised direction, and implement some ComWrappers for this repo, if this is what team are willing to take as contribution.
The text was updated successfully, but these errors were encountered:
I’m also happy to take on this task. After we replace all the uses of ComImportAttribute with ComWrappers, someone could then attempt to rewrite the C++/CLI assemblies in a combination of unmanaged C++ and C#. If that too could be accomplished, then I could run WPF apps through NativeAOT and have everything “just work.” This would be extremely, extremely cool. I don’t know how breaking a change removing C++/CLI would be, however.
I manage to work WinForms in NativeAOT context using global ComWrappers, and made attempt to do the same, but hit a roadblock with
Marshal.ReleaseComObject
. See dotnet/runtime#54317 for more information.Having ComWrappers for this repo make WPF more a tiny bit more friendly for IL Trimming.
I'm willing to follow advised direction, and implement some ComWrappers for this repo, if this is what team are willing to take as contribution.
The text was updated successfully, but these errors were encountered: