-
Notifications
You must be signed in to change notification settings - Fork 564
[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
Draft
jonathanpeppers
wants to merge
17
commits into
main
Choose a base branch
from
dev/peppers/net11.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
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
Comment on lines
-23
to
-24
| "microsoft-net-runtime-android-net9", | ||
| "microsoft-net-runtime-android-aot-net9", |
Member
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a TODO, the net10 version of these do not exist yet.
Member
Author
|
This is currently blocked because these are not imported: <Import Project="Sdk.props" Sdk="Microsoft.NET.Runtime.MonoTargets.Sdk.net10" />
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Runtime.MonoTargets.Sdk.net10" />So, no Android "app" project will successfully build yet: I think waiting on: |
…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.
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 make .NET 11.0 the new default target framework, replacing 10.0 and 9.0 in templates, build scripts, and documentation. It also introduces support for .NET 11.0 in issue templates, workload manifests, and build variables. Additionally, it improves the build pipeline by conditionally running certain steps only for non-forked pull requests.
.NET Target Framework Version Updates:
.NET 11.0as the default target framework and updated related properties inDirectory.Build.props,build-tools/automation/yaml-templates/variables.yaml, andbuild-tools/scripts/XABuildConfig.cs.in. Previous defaults for 9.0 and 10.0 were updated accordingly.net11.0-androidinstead ofnet10.0-androidin multiple.csprojfiles and documentation.Workload Manifest and SDK Support:
Microsoft.Android.Sdk.net11to the workload manifest, updated pack references, and removed references tonet9.0.net11.0-android (Preview)as an option and removed the preview tag fromnet10.0-android.Build and CI Pipeline Improvements:
make prepare-external-git-dependenciesonly for non-forked pull requests, improving security and reliability.Documentation and Miscellaneous:
package-download.proj.