Replies: 2 comments
-
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.
0 replies
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.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