Repository navigation
Align all modern .NET projects on .NET 10 - #836
Merged
Merged
Conversation
Sergio0694
marked this pull request as ready for review
December 4, 2026 17:52
Sergio0694
force-pushed
the
sergio0694-align-on-net10
branch
from
December 4, 2026 19:14
03886cc to
bb06265
Compare
Points tooling at CommunityToolkit/Tooling-Windows-Submodule#327, which is merged on tooling main (c0018820). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- AppServices, Notifications and DependencyPropertyGenerator now override
UwpTargetFrameworks with net10.0-windows10.0.17763.0 only (dropping
net8.0/net9.0), matching the tooling .NET 10 alignment.
- The DependencyPropertyGenerator tests now target
net10.0-windows10.0.17763.0. Their compilations reference the net10 package
assembly, so they must use net10 reference assemblies (otherwise CS1705):
move to Basic.Reference.Assemblies.Net100 and ReferenceAssemblies.Net.Net100,
which requires Microsoft.CodeAnalysis.CSharp.{Analyzer,CodeFix}.Testing 1.1.3.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Delete the TransitionHelper IsExternalInit polyfill: its targets (uwp and wasdk) are net10.0 only now, where the type ships in the BCL. - Drop LangVersion=preview from the Adorners library: it was only needed for the 'field' keyword, which is stable in C# 14 (the default for net10.0). The samples keep it, as they use CommunityToolkit.Mvvm partial properties. - Drop the NU1903 suppression from the DependencyPropertyGenerator tests: the vulnerable transitive packages are no longer restored with the updated Roslyn testing packages and net10.0 package pruning. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- ReadMe: require the .NET 10 SDK (matching global.json) and Visual Studio 2026 (18.0), which the .NET 10 SDK requires. - build.yml: require VS 18.0+ for setup-msbuild instead of 17.13. - Copilot instructions: refresh the UwpTargetFrameworks and IsAotCompatible notes for net10.0. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
ObservableValidator and DataAnnotations validation rely on reflection, and the Apple SDKs always run the trim analyzer (with the default SdkOnly link mode they don't suppress its warnings), so the net10.0-ios/net10.0-maccatalyst Release builds failed with IL2026 errors in the sample. Annotate the sample ViewModel with [RequiresUnreferencedCode] so the requirement is expressed correctly, and only suppress IL2026 where the page instantiates it, scoped to the Apple TFMs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Uno.Wasm.Bootstrap 10 errors (UNOWA0001) when native wasm assets are used without the wasm-tools workload. SkiaSharp.NativeAssets.WebAssembly (via RivePlayer) turns on native linking, and this compile-only job doesn't install the workload. Skip the check there: the Windows wasm leg covers the full native build. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sergio0694
force-pushed
the
sergio0694-align-on-net10
branch
from
December 4, 2026 19:48
bb06265 to
9552146
Compare
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.
Aligns every modern .NET project in Labs on net10.0 only (dropping net8.0/net9.0) and cleans up what that makes unnecessary. Companion to CommunityToolkit/Tooling-Windows-Submodule#327.
Changes
sergio0694-align-on-net10(2236c15d). This must be re-pointed to toolingmainonce that PR merges, before merging this one.UwpTargetFrameworksin AppServices, Notifications and DependencyPropertyGenerator is nownet10.0-windows10.0.17763.0;. The DependencyPropertyGenerator tests moved to net10.0 and toBasic.Reference.Assemblies.Net100/ReferenceAssemblies.Net.Net100(required: with Net80 refs all tests fail with CS1705), withMicrosoft.CodeAnalysis.CSharp.{Analyzer,CodeFix}.Testingbumped to 1.1.3.IsExternalInitpolyfill,LangVersion=previewfrom the Adorners library (thefieldkeyword is stable in C# 14; the samples keep it for Mvvm partial properties), and the NU1903 suppression in the DPG tests.build.ymlvs-versionis[18.0,); Copilot instructions refreshed.#if NET8_0_OR_GREATERbranches in the DPG generator's emitted consumer source are intentionally untouched.Validation (Release, SDK 10.0.404, VS 18)
net10.0*lib folders (plusnetstandard2.0for AppServices).Notes