Skip to content

Improve WinUI AOT compatibility #1890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Improve WinUI AOT compatibility #1890

wants to merge 1 commit into from

Conversation

lhak
Copy link

@lhak lhak commented Jun 5, 2025

This patch improves compatibility with AOT compiled WinUI apps. Fixes #1889 (comment):

  • AllowUnsafeBlocks is required by the cswinrt source generator
  • MotionCanvas needs to be declared partial to generate the necessary code
  • Some of the dependencies have been upgraded to AOT compatible versions, matching the winui sample project
  • Json source generation is required for the DrawnMap class

@BlameTwo
Copy link

BlameTwo commented Jul 4, 2025

@beto-rodriguez Why haven't they merged yet?

@beto-rodriguez
Copy link
Owner

I will @BlameTwo, this will be included in the next release, thanks @lhak!

@BlameTwo
Copy link

BlameTwo commented Jul 4, 2025

I will @BlameTwo, this will be included in the next release, thanks @lhak!

thanks😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants