Add opt-in NativeAOT publish path#5057
Merged
Merged
Conversation
Add a Windows x64 NativeAOT publish profile and helper script while keeping the existing release publish flow unchanged. Wire CI to report NativeAOT warnings and clean up first-party AOT-sensitive serialization and marshalling paths. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Benoît Cortier (CBenoit)
previously approved these changes
Jul 8, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Gabriel Dufresne (GabrielDuf)
approved these changes
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If the same issue can be reproduced outside UniGetUI with the relevant package manager or with the package itself, please report it there first. UniGetUI should only be used to track issues that are specific to UniGetUI's behavior or integration.
Adds an opt-in Windows x64 NativeAOT publish path without changing the existing Release/default publish flow.
Changes:
Win-x64-NativeAot.pubxmlfor explicit NativeAOT publishing.scripts/publish-nativeaot.ps1as the repeatable developer entry point.artifacts/output.Validation:
dotnet test src\UniGetUI.Windows.slnx --no-restore --verbosity q --nologo /p:Platform=x64 /p:UseSharedCompilation=false /m:1pwsh .\scripts\publish-nativeaot.ps1artifacts\nativeaot\win-x64\UniGetUI.exe --helpRelates to NativeAOT build validation work.