Skip to content
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

Infra: .NET Native AOT #515

Closed
wants to merge 3 commits into from
Closed

Infra: .NET Native AOT #515

wants to merge 3 commits into from

Conversation

Lamparter
Copy link
Collaborator

@Lamparter Lamparter commented Sep 22, 2024

😸 .NET NativeAOT in FluentHub

image

📄 Description

I've experimented with this in the past; this change doesn't work right yet but let's discuss Native AOT here.

💭 Motivation and context

.NET Native AOT Compilation has a lot of benefits for WinAppSdk applications due to ahead-of-time code compilation which is incredibly beneficial to performance.

✅ Tasks

📋 High priority

  • WinAppSdk 1.6
  • Implement AOT statements
  • Add trimming statements
  • Fix Linq problem [System.Reflection]

📸 Assets

microsoft/[email protected]
msdocs/netcoredeploy
files-community/Files#16156

I've experimented with this in the past; this change doesn't work as it is shown but I'm utilising this commit to create a PR for discussion
@Lamparter Lamparter self-assigned this Sep 22, 2024
@Lamparter
Copy link
Collaborator Author

Linq problem 😭

image

It's already going very well... my old nemesis

@Lamparter Lamparter marked this pull request as draft September 22, 2024 12:32
@Lamparter
Copy link
Collaborator Author

Just spent ages trying to get it to work and I'm just going around in circles...
First we need to update Microsoft.WindowsAppSdk to latest (1.6). This causes need for Microsoft.Windows.SDK.NET.Ref package which doesn't work due to bad version/architecture spec 😖

There is some kind of incompatibility with WinAppSDK and either x86/arm64 architecture 😕
@Lamparter
Copy link
Collaborator Author

Let's not do this yet actually. This requires major internal discussion and isn't ready.

@Lamparter Lamparter closed this Sep 22, 2024
@Lamparter Lamparter added this to the FluentHub v1.0.0 milestone Sep 22, 2024
@Lamparter Lamparter mentioned this pull request Sep 22, 2024
66 tasks
@Lamparter Lamparter deleted the aot branch September 22, 2024 13:05
@Lamparter Lamparter restored the aot branch September 22, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ♻️ Abandoned
Development

Successfully merging this pull request may close these issues.

1 participant