Update EF Core benchmark framework target to net11.0#2155
Merged
LoopedBard3 merged 1 commit intoaspnet:mainfrom Feb 19, 2026
Merged
Update EF Core benchmark framework target to net11.0#2155LoopedBard3 merged 1 commit intoaspnet:mainfrom
LoopedBard3 merged 1 commit intoaspnet:mainfrom
Conversation
The EF Core repo (dotnet/efcore main branch) has moved its projects to target net11.0, but the benchmark scenario was still forcing net10.0. This caused NETSDK1045 errors on the build agent since the .NET 10 SDK cannot compile net11.0 projects. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
sebastienros
approved these changes
Feb 19, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the EF Core benchmark scenario configuration to target .NET 11.0 instead of .NET 10.0, aligning with the EF Core repository's move to net11.0 and preventing NETSDK1045 build errors when the .NET 10 SDK attempts to compile net11.0 projects.
Changes:
- Updated framework target from net10.0 to net11.0 in scenarios/efcore.benchmarks.yml
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The EF Core repo (dotnet/efcore main branch) has moved its projects to target net11.0 (updated global.json and using NetCurrent for TFM), but the benchmark scenario was still forcing net10.0. This caused NETSDK1045 errors on the build agent since the .NET 10 SDK cannot compile net11.0 projects. We also wanted to update to get test runs using latest net11 anyways.