From c2fdda191b6eab16760964611722832a31e7fe1c Mon Sep 17 00:00:00 2001 From: Rolling2405 <89894749+Rolling2405@users.noreply.github.com> Date: Thu, 30 Apr 2026 22:39:11 -0700 Subject: [PATCH] Add net10.0 and net10.0-windows10.0.17763.0 target frameworks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add net10.0 and net10.0-windows10.0.17763.0 to CommunityToolkit.Mvvm's TargetFrameworks, following the existing LTS-only shipping pattern (net8.0 LTS → net10.0 LTS, skipping net9.0 STS). All existing conditional blocks use IsTargetFrameworkCompatible against 'net8.0-windows10.0.17763.0', which returns true for the new net10.0-windows TFM, so Windows-specific code paths apply automatically. NET8_0_OR_GREATER symbols are true for net10.0 as well, so no source changes are required. Also add net10.0 to CommunityToolkit.Mvvm.Roslyn5000.UnitTests, which was the only MVVM runtime test project not yet targeting net10.0. All 408 tests pass on net10.0. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj | 2 +- .../CommunityToolkit.Mvvm.Roslyn5000.UnitTests.csproj | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj b/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj index d734a696..0797e833 100644 --- a/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj +++ b/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj @@ -1,7 +1,7 @@ - netstandard2.0;netstandard2.1;net8.0;net8.0-windows10.0.17763.0 + netstandard2.0;netstandard2.1;net8.0;net8.0-windows10.0.17763.0;net10.0;net10.0-windows10.0.17763.0