Repository navigation
Test against .NET 11.0.1xx only and disable SDK Next integration tests by default since we're only targeting 11.0.1xx now. - #7549
Merged
Conversation
nkolev92
marked this pull request as draft
July 8, 2026 23:02
nkolev92
force-pushed
the
dev-nkolev92-test11xOnly
branch
from
July 13, 2026 17:16
f215ff6 to
2a49d1d
Compare
nkolev92
marked this pull request as ready for review
July 15, 2026 16:27
…s by default since we're only inserting into NET 11 right now
nkolev92
force-pushed
the
dev-nkolev92-test11xOnly
branch
from
July 15, 2026 16:30
76adf4b to
837fc20
Compare
nkolev92
enabled auto-merge (squash)
July 15, 2026 22:33
3 tasks done
martinrrm
approved these changes
Jul 16, 2026
This was referenced Jul 25, 2026
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.
Bug
Fixes:
Progress: https://github.com/NuGet/Client.Engineering/issues/3874
Description
Test/CI configuration change only (no product code) in preparation for the 7.9 branch. Moves
Dotnet.Integration.Testonto the .NET 11.0.1xx SDK and turns the SDK Next test legs off by default so they don't gate PRs while SDK Next does not exist. Nothing is deleted — SDK Next remains easy to re-enable.Pipeline
eng/pipelines/pr.yml— Added a newRunSdkNextTestspipeline parameter (defaultfalse) and gated the threeDotnet.Integration.Test ... (SDK Next)stages (Windows / Linux / MacOS) on it, combined with the existing per-OS switches. The stages stay in the file and can be re-enabled by flipping the parameter.SDK install / configure
build/DotNetSdkTestVersions.txt— Slimmed the test SDK/runtime matrix: removed the standalone 8.0 and 9.0 runtime installs and the10.0.4xxSDK daily; now installs the 10.0 shared runtime (-Channel 10.0 -Runtime dotnet) and the 11.0.1xx SDK daily (-Channel 11.0.1xx -Quality daily).configure.sh— Fixed the read loop that parsesDotNetSdkTestVersions.txt: the continuation guard referenced an undefined$line, so the last line was dropped when the file had no trailing newline. It now guards on$CliArgs.Test project targeting
test/NuGet.Core.FuncTests/Dotnet.Integration.Test/Dotnet.Integration.Test.csproj— Added aTestSDKNextproperty (defaultfalse) that controls whether thesdkNexttarget framework is built, added anIsEscrowModeguard to the TFM conditions, and adjustedLatestNETCoreTargetFrameworkMajorVersion(now latest major + 1) so the "next framework" math lines up with 11.x being latest.test/NuGet.Core.FuncTests/Dotnet.Integration.Test/TestConstants.cs— BumpedProjectTargetFramework:net10.0→net11.0(current SDK) andnet11.0→net12.0(SDK Next).Test assertion cleanup (only 11.0.1xx is exercised now)
test/NuGet.Core.FuncTests/Dotnet.Integration.Test/DotnetWhyTests.cs— Removed the now-dead#if SDK_CURRENTbranches across thewhytests, keeping the currentdotnet nuget whyexpected output.test/NuGet.Core.FuncTests/Dotnet.Integration.Test/PackCommandTests.cs—PackCommand_PackageIdWithNonAsciiCharacters_NU5052now always asserts theNU5052warning is present (dropped the#if SDK_NEXTsplit).test/NuGet.Core.FuncTests/NuGet.Signing.CrossFramework.Test/CrossVerifyTestFixture.cs— Bumped the manually-specified net472SdkVersionfrom10to11.PR Checklist