-
Notifications
You must be signed in to change notification settings - Fork 565
[build] net11.0 target framework
#10664
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
Merged
Merged
Conversation
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
Squashed commit of the following: commit e18cc6e Author: Jonathan Peppers <jonathan.peppers@microsoft.com> Date: Tue Jan 6 12:14:06 2026 -0600 Update variables.yaml commit 1f4ee87 Author: Jonathan Peppers <jonathan.peppers@microsoft.com> Date: Tue Jan 6 11:44:41 2026 -0600 Update Xamarin.Android.Common.targets commit 2996b46 Author: Jonathan Peppers <jonathan.peppers@microsoft.com> Date: Mon Jan 5 13:57:39 2026 -0600 Update Step_InstallDotNetPreview.cs commit d77afba Author: Jonathan Peppers <jonathan.peppers@microsoft.com> Date: Mon Jan 5 11:45:59 2026 -0600 Update Step_InstallDotNetPreview.cs commit 77daf1f Author: Jonathan Peppers <jonathan.peppers@microsoft.com> Date: Mon Jan 5 11:02:43 2026 -0600 see if we can remove dotnet10 feeds commit 2a263a6 Author: Jonathan Peppers <jonathan.peppers@microsoft.com> Date: Mon Jan 5 11:02:31 2026 -0600 Remove old feeds commit a56cb6a Merge: 9e4e83d 3205de6 Author: Jonathan Peppers <jonathan.peppers@microsoft.com> Date: Mon Jan 5 11:01:42 2026 -0600 Merge branch 'main' into darc-main-1d9f7d07-2bbb-4810-b696-4f3fbee0c1cf commit 9e4e83d Author: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Date: Mon Jan 5 05:02:00 2026 +0000 Update dependencies from https://github.com/dotnet/dotnet build 20251219.9 On relative base path root Microsoft.NET.Workload.Mono.ToolChain.Current.Manifest-11.0.100-alpha.1 From Version 11.0.100-alpha.1.25619.109 -> To Version 11.0.0-alpha.1.25619.109 commit ab4c30a Author: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Date: Mon Dec 29 05:03:15 2025 +0000 Update dependencies from https://github.com/dotnet/dotnet build 20251219.9 On relative base path root Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest-11.0.100-alpha.1 From Version 11.0.0-alpha.1.25614.102 -> To Version 11.0.100-alpha.1.25619.109 commit 6c52730 Author: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Date: Mon Dec 22 05:03:05 2025 +0000 Update dependencies from https://github.com/dotnet/dotnet build 20251219.9 On relative base path root Microsoft.NET.Workload.Mono.ToolChain.Current.Manifest-11.0.100-alpha.1 , Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-alpha.1.25614.102 -> To Version 11.0.0-alpha.1.25619.109 Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.25614.102 -> To Version 11.0.0-beta.25619.109 Microsoft.DotNet.Cecil From Version 0.11.5-alpha.25614.102 -> To Version 0.11.5-alpha.25619.109 Microsoft.NET.Sdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-11.0.100-alpha.1 From Version 11.0.100-alpha.1.25614.102 -> To Version 11.0.100-alpha.1.25619.109 Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-alpha.25614.102 -> To Version 11.0.100-alpha.25619.109
Changed the PREPARE_NET_FX variable from net9.0 to net10.0 to target the newer .NET framework version in the build process.
Added PackageDownload entries for Microsoft.NET.Workload.Mono.ToolChain.net10 and Microsoft.NET.Workload.Emscripten.net10 to support .NET 10 workloads in the package-download.proj file.
Eliminated PackageDownload entries for net6, net7, net8, and net9 Mono and Emscripten manifests from package-download.proj, retaining only the current and net10 versions. This streamlines the package list and focuses on supported manifest versions.
Commented out PackageDownload entries for Mono and Emscripten .net10 manifests that do not exist yet, adding TODO notes for future reference.
jonathanpeppers
commented
Jan 6, 2026
src/Xamarin.Android.Build.Tasks/Microsoft.NET.Sdk.Android/WorkloadManifest.in.json
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
…105.14 On relative base path root Microsoft.NET.Workload.Mono.ToolChain.Current.Manifest-11.0.100-alpha.1 , Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-alpha.1.25619.109 -> To Version 11.0.0-alpha.1.26055.114 Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.25619.109 -> To Version 11.0.0-beta.26055.114 Microsoft.DotNet.Cecil From Version 0.11.5-alpha.25619.109 -> To Version 0.11.5-alpha.26055.114 Microsoft.NET.Sdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-11.0.100-alpha.1 From Version 11.0.100-alpha.1.25619.109 -> To Version 11.0.100-alpha.1.26055.114 Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-alpha.25619.109 -> To Version 11.0.100-alpha.26055.114
…ld 20260105.14" This reverts commit 7fa7392.
…110.2 On relative base path root Microsoft.NET.Workload.Mono.ToolChain.Current.Manifest-11.0.100-alpha.1 , Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-alpha.1.26055.114 -> To Version 11.0.0-alpha.1.26060.102 Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26055.114 -> To Version 11.0.0-beta.26060.102 Microsoft.DotNet.Cecil From Version 0.11.5-alpha.26055.114 -> To Version 0.11.5-alpha.26060.102 Microsoft.NET.Sdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-11.0.100-alpha.1 From Version 11.0.100-alpha.1.26055.114 -> To Version 11.0.100-alpha.1.26060.102 Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-alpha.26055.114 -> To Version 11.0.100-alpha.26060.102
Context: d08300d
…v/peppers/net11.0
Updated WorkloadManifest.in.json to include 'microsoft-net-runtime-android-net10' and 'microsoft-net-runtime-android-aot-net10' in the 'extends' section, enabling support for .NET 10 Android runtimes.
Bump Microsoft.NET.Sdk.Android.Manifest from 9.0.100 (35.0.105) to 10.0.100 (36.1.2) in Version.Details.xml and Versions.props. This updates the previous Android version references to the latest available.
… into dev/peppers/net11.0
Updated the KnownFrameworkReference item group for Android to include Microsoft.Android.Runtimes alongside Microsoft.Android for TargetFrameworkVersion 10.0.
Member
Author
grendello
approved these changes
Jan 13, 2026
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.

This pull request updates the codebase to target .NET 11 as the default, including support for .NET 11.0-android, and upgrades related dependencies and documentation. It also improves CI scripts and configuration for the new target framework.
Target framework and SDK updates:
net11.0and the stable target tonet10.0inDirectory.Build.propsand pipeline variables.XABuildConfig.cs.in.PREPARE_NET_FXinMakefileand improved workload manifest handling fornet10inxaprepare.CI and build improvements:
prepare-external-git-dependenciesfor non-forked PRs, improving security and reliability.Documentation and templates:
net11.0-androidand use the new default target framework in examples.Other configuration updates:
TargetsCurrent=trueinDirectory.Build.propsas a temporary workaround for a known SDK issue.These changes ensure the project is ready for .NET 11 development and testing, while maintaining support for .NET 10 as the stable release.