© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
140 replies
kalten

JumpList PublishAOT

Hello, I'm creating an Avalonia app and it support PublishAOT build
I would like to add JumpList support to it but I'm not able to make it work after the AOT build.

I tried to use Vanara (https://github.com/dahall/Vanara/) but it stop working as soon as set PublishAOT=true with an InvalidProgramException.

I also tried to use CsWin32 (https://github.com/microsoft/CsWin32/discussions) hoping to have a more modern com support. But I don't have the knowledge to use this low level api.

I tried Avalonia.Win32.JumpLists nuget package too without much more success.

Any idea on how to make it work?
GitHub
GitHub - dahall/Vanara: A set of .NET libraries for Windows impleme...
A set of .NET libraries for Windows implementing PInvoke calls to many native Windows APIs with supporting wrappers. - dahall/Vanara
GitHub
microsoft CsWin32 · Discussions
Explore the GitHub Discussions forum for microsoft CsWin32. Discuss code, ask questions & collaborate with the developer community.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

❔ [SOLVED] PublishAot and PublishSingleFile at thesame time
C#CC# / help
4y ago
AvaloniaUI. PublishAot doesn't work with Visual Studio 2026
C#CC# / help
2mo ago
When I set PublishAot to true, I get "Publish has encountered an error.
C#CC# / help
2y ago
Building a native executable with NativeAOT in one single file
C#CC# / help
4y ago