Skip to content

Conversation

@Arlodotexe
Copy link
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
Copy link
Member Author

Arlodotexe commented May 17, 2024

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
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