Repository navigation
build(frameworks)!: align .NET target frameworks with support lifecycles - #1144
Draft
Gavin Barron (gavinbarron) wants to merge 1 commit into
Draft
Gavin Barron (gavinbarron) wants to merge 1 commit into
Gavin Barron (gavinbarron) wants to merge 1 commit into
Conversation
Replace the dedicated net8.0 target with net11.0 while preserving other library targets. Update SDK selection, CI, coverage, trimming validation, and documentation. BREAKING CHANGE: .NET target framework alignment with .NET support lifecycles. The dedicated net8.0 library and test targets are removed and net11.0 is added. Building requires the .NET 11 SDK. Retained .NET Standard assets may still provide compatible fallbacks for .NET 8 consumers. Refs #1143 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Gavin Barron (gavinbarron)
force-pushed
the
gavinbarron-update-core-to-net11
branch
from
November 12, 2026 21:36
815a73a to
9b5639e
Compare
|
This branch has not been deployed
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.



Fixes #1143
Changes proposed in this pull request
net8.0library/test targets withnet11.0. Preservenetstandard2.0,netstandard2.1,net462,net10.0, and optional .NET 10 MAUI library targets. Retained .NET Standard assets may still offer compatible fallbacks for .NET 8 consumers; removing the dedicated target is not an unconditional runtime incompatibility.net11.0asset requires publishing this updated package.dotnet build Microsoft.Graph.Core.sln --no-restore --verbosity minimalpassed for all five non-MAUI library targets;dotnet test Microsoft.Graph.Core.sln --framework net11.0 --verbosity minimal,dotnet test Microsoft.Graph.Core.sln --no-build --framework net10.0 --verbosity minimal, anddotnet test Microsoft.Graph.Core.sln --no-build --framework net462 --verbosity minimaleach passed (195 passed, one existing skip).dotnet publish tests\Microsoft.Graph.DotnetCore.Core.Trimming\Microsoft.Graph.DotnetCore.Core.Trimming.csproj -c Release -r win-x64 -f net11.0 /p:TreatWarningsAsErrors=true /warnaserror --verbosity minimalpassed with native code generation.dotnet pack src\Microsoft.Graph.Core\Microsoft.Graph.Core.csproj --no-restore -c Release --output C:\Users\gavinbarron\.copilot\session-state\f75f860a-442d-4448-8882-13332fa51a44\files\packages --verbosity minimalpassed; package inspection confirmed all retained non-MAUI targets plusnet11.0and nonet8.0asset.dotnet test Microsoft.Graph.Core.sln --no-build --framework net11.0 /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --verbosity minimalpassed and emitted the configuredcoverage.net11.0.opencover.xml.git diff --checkpassed. MAUI builds and hosted CI were not run; existing certificate-test SYSLIB0057 warnings remain.Other links
Microsoft Reviewers: Open in CodeFlow