Skip to content

Enable AoT for net8 in Release - #190

Merged
Arlodotexe merged 6 commits into
mainfrom
net8/aot
May 18, 2024
Merged

Enable AoT for net8 in Release#190
Arlodotexe merged 6 commits into
mainfrom
net8/aot

Conversation

@Arlodotexe

Copy link
Copy Markdown
Member

This PR contains the tooling changes needed to enable AoT functionality on net8/WinAppSdk:

  • Enables Aot when running under .NET 8 in release mode
  • Defines missing NET8_0_OR_GREATER compilation conditionals
  • Switches to net8 as the primary TFM for the WinAppSDK head

@Arlodotexe
Arlodotexe enabled auto-merge (rebase) May 17, 2024 23:13
@Arlodotexe

Arlodotexe commented May 17, 2024

Copy link
Copy Markdown
Member Author

The error message from the CI:

D:\a\Tooling-Windows-Submodule\Tooling-Windows-Submodule\tooling\ProjectTemplate\heads\Uwp\ProjectTemplate.Uwp.csproj : error NU1201: Project ProjectTemplateExperiment.Samples is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-arm-aot. Project ProjectTemplateExperiment.Samples supports: [D:\a\Tooling-Windows-Submodule\Tooling-Windows-Submodule\tooling\ProjectTemplate\ProjectTemplate.sln]

Need to revert a bad change to the default target frameworks

@Arlodotexe

Copy link
Copy Markdown
Member Author

This PR also closes #183

@Arlodotexe Arlodotexe linked an issue May 18, 2024 that may be closed by this pull request
20 tasks
@Arlodotexe
Arlodotexe merged commit ce05388 into main May 18, 2024
@delete-merged-branch
delete-merged-branch Bot deleted the net8/aot branch May 18, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

.NET 6 Runtime was required for use

2 participants