The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi there, is your WinUI components AOT compatible?
create a WinUI3 packed project
add Syncfusion.Grid.WinUI nuget
insert this line to App constructor (of course with my valid license key) Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
set this in project file <PublishAot>True</PublishAot>
I get this error when I try to start/debug my app
I uploaded my VS2022 project. If you change <PublishAot> to false, the app will work, but when it is true, the app crashes.
MAManikanda Akash Munisamy Syncfusion Team November 26, 2024 09:18 AM UTC
Hi Karoly,
Currently, our Syncfusion WinUI controls do not support AOT (Ahead-of-Time) compilation. We are actively investigating the feasibility of adding AOT support, but we are encountering some issues during the process. We were checking with Microsoft regarding the issues. You can also find the link below.
Once the issues are resolved and our controls are fully compatible with AOT, we will inform you further and include it in one of our upcoming releases. We appreciate your patience in the meantime.
Regards, Manikanda Akash
Marked as answer
KAKarolyNovember 26, 2024 09:35 AM UTC
Hi
Manikanda, thanks for quick reply.
Ok, I see, I will wait for your feedback.
One thing I would mention is if I don't add your Grid Nuget and call RegisterLicense method I can compile/publish my WinUI3 app with AOT without any problem.