From 5e97cb7fc89d5c3ee01c766a5a1b87c9582a8310 Mon Sep 17 00:00:00 2001 From: "Gavin Barron (from Dev Box)" Date: Tue, 28 Apr 2026 16:58:47 -0700 Subject: [PATCH 1/2] feat!: update target frameworks to net8.0 and net10.0, drop net5.0 BREAKING CHANGE: Dropped net5.0 target framework. The SDK now targets netstandard2.0, netstandard2.1, net8.0, and net10.0. Consumers targeting net5.0 must upgrade to net8.0 or later. - Update Microsoft.Graph TFMs from netstandard2.0;netstandard2.1;net5.0 to netstandard2.0;netstandard2.1;net8.0;net10.0 - Update test project from net8.0 to net8.0;net10.0 - Replace net5.0 per-TFM property groups with net8.0 and net10.0 Fixes #3095 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/Microsoft.Graph/Microsoft.Graph.csproj | 14 +++++++++++--- .../Microsoft.Graph.DotnetCore.Test.csproj | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/Microsoft.Graph/Microsoft.Graph.csproj b/src/Microsoft.Graph/Microsoft.Graph.csproj index 3a106aa6aed..61f03e3f126 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.csproj @@ -5,7 +5,7 @@ © Microsoft Corporation. All rights reserved. Microsoft Graph V1.0 Service Client Library Microsoft - netstandard2.0;netstandard2.1;net5.0 + netstandard2.0;netstandard2.1;net8.0;net10.0 latest false Microsoft.Graph @@ -56,11 +56,19 @@ https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/CHANGELOG.md bin\Debug\Microsoft.Graph.xml 1701;1702;1705;1591 - + bin\Release\Microsoft.Graph.xml 1701;1702;1705;1591 - + + bin\Debug\Microsoft.Graph.xml + 1701;1702;1705;1591 + + + bin\Release\Microsoft.Graph.xml + 1701;1702;1705;1591 + + bin\Debug\Microsoft.Graph.xml 1701;1702;1705;1591 diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj index 0b25116e4ca..e289cac3196 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj +++ b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj @@ -1,7 +1,7 @@ - net8.0 + net8.0;net10.0 Microsoft.Graph.DotnetCore.Test Microsoft.Graph.DotnetCore.Test true From 9e1075e08744ab8afc63c6b87dc186fedad18790 Mon Sep 17 00:00:00 2001 From: "Gavin Barron (from Dev Box)" Date: Tue, 28 Apr 2026 17:36:54 -0700 Subject: [PATCH 2/2] refactor: consolidate per-TFM property groups into global NoWarn Remove redundant per-TFM DocumentationFile/NoWarn property groups that could cause parallel build file write races. GenerateDocumentationFile is already enabled globally, and NoWarn values are now consolidated into the main PropertyGroup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/Microsoft.Graph/Microsoft.Graph.csproj | 34 +--------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/src/Microsoft.Graph/Microsoft.Graph.csproj b/src/Microsoft.Graph/Microsoft.Graph.csproj index 61f03e3f126..72dd8e4d7a6 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.csproj @@ -35,43 +35,11 @@ https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/CHANGELOG.md true true README.md - $(NoWarn);NU5048;NETSDK1138 + $(NoWarn);NU5048;NETSDK1138;1701;1702;1705;1591 true - - bin\Release\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Debug\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Release\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Debug\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Release\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Debug\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Release\Microsoft.Graph.xml - 1701;1702;1705;1591 - - - bin\Debug\Microsoft.Graph.xml - 1701;1702;1705;1591 - true