Replies: 3 comments 2 replies
-
Note that if I try to run the exe in the bin, it doesn't launch, and this error is in the event viewer:
|
Beta Was this translation helpful? Give feedback.
-
At the moment, the documentation does state that it is only supported in console applications. This is a limitation from .NET 7 itself. There is also limitations with respect to COM, and since the Windows Runtime (which the Windows App SDK/WinUI 3 is built on) is COM with some extras, then this could be causing issues. |
Beta Was this translation helpful? Give feedback.
-
@DarranRowe so we have 2025, and just released .NET 9 with AOT compilation for old UWP projects. REF : https://devblogs.microsoft.com/ifdef-windows/preview-uwp-support-for-dotnet-9-native-aot/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
.NET 7 brings native AOT deployment, and I'm personally very excited for it. I would love to be able to use it in our WinUI 3 project.
https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/
Is this something we can expect will work eventually? This would be amazing! Right now I can enable it in the project (
PublishAot
), but errors show up when starting from VS:Beta Was this translation helpful? Give feedback.
All reactions