Skip to content

feat!: update target frameworks to net8.0 and net10.0, drop net5.0#1111

Open
gavinbarron wants to merge 3 commits intomainfrom
feat/update-tfms-net8-net10
Open

feat!: update target frameworks to net8.0 and net10.0, drop net5.0#1111
gavinbarron wants to merge 3 commits intomainfrom
feat/update-tfms-net8-net10

Conversation

@gavinbarron
Copy link
Copy Markdown
Member

@gavinbarron gavinbarron commented Apr 30, 2026

Summary

Update the SDK target frameworks from netstandard2.0;netstandard2.1;net5.0 to netstandard2.0;netstandard2.1;net8.0;net10.0.

Breaking Change

Dropped net5.0 target framework (EOL). Added net8.0 and net10.0.

Changes

  • Updated TFMs in Microsoft.Graph.Beta.csproj
  • Updated test project to target net8.0 and net10.0
  • Added .NET 10 SDK installation to CI/CD pipelines
  • Simplified per-TFM build steps (single build covers all TFMs)

Closes #1110

@gavinbarron gavinbarron requested a review from a team as a code owner April 30, 2026 01:47
gavinbarron and others added 3 commits April 30, 2026 09:28
BREAKING CHANGE: Dropped net5.0 target framework. The SDK now targets
netstandard2.0, netstandard2.1, net8.0, and net10.0.

- Update TFMs in Microsoft.Graph.Beta.csproj
- Update test project to target net8.0 and net10.0
- Add .NET 10 SDK to CI/CD pipelines
- Simplify per-TFM build steps in pipelines

Closes #1110

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Building all TFMs in parallel via solution build causes exit code 137
(OOM kill) on GitHub Actions ubuntu-latest runners.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Update ADO ci-build.yml to build each TFM sequentially (same OOM fix
  as GitHub Actions workflow)
- Add comments explaining why per-TFM builds are necessary
- Suppress NU1510 package pruning warning for System.Net.Http on
  netstandard2.0 (false positive from .NET 10 SDK)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@gavinbarron gavinbarron force-pushed the feat/update-tfms-net8-net10 branch from c6adeca to a8e6f94 Compare April 30, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update target frameworks to netstandard2.0;netstandard2.1;net8.0;net10.0

1 participant