Repository navigation
Backport AOT publishing and TFM alias test fixes to 8.0.x - #7826
Merged
Merged
Conversation
(cherry picked from commit 4cddca8) Co-authored-by: Copilot App <[email protected]>
(cherry picked from commit 1ec5a94) Co-authored-by: Copilot App <[email protected]>
kartheekp-ms
approved these changes
Oct 30, 2026
jebriede
approved these changes
Oct 30, 2026
jeffkl
approved these changes
Oct 30, 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: infrastructure
Description
Cherry-picks from
devontorelease/8.0.x, both applied without conflicts:RestoreNetCore_WithCustomAliases_WritesConditionWithCorrectAlias, which fails when SDK reference packs cannot be found in its isolated source, and preserve its generated-props condition assertion inDotnetRestore_MultiTargettingWithAliases_Succeeds.Engineering-only test/build fixes; no user-facing documentation changes are required.
Validation using SDK
11.0.100-rc.3.26522.148:.\configure.ps1 -SkipDotnetForBuildInstallation -SkipDotnetForTestInstallation— passed for the AOT backport; no SDK installations performed.dotnet publish test\NuGet.AotCompatibility.TestApp\NuGet.AotCompatibility.TestApp.csproj --configuration Release --output artifacts\AotCompatibility -v:minimal— passed for the AOT backport, with existing package vulnerability warnings; the app's XML documentation file was not published..\artifacts\AotCompatibility\NuGet.AotCompatibility.TestApp.exe— passed (Passed.).dotnet test test\NuGet.Core.FuncTests\Dotnet.Integration.Test\Dotnet.Integration.Test.csproj --filter "FullyQualifiedName~DotnetRestore_MultiTargettingWithAliases_Succeeds" --verbosity quiet— built successfully, but the test initially failed because the worktree-local test SDK installation was missing..\configure.ps1 -SkipDotnetForBuildInstallation— passed; installed test SDK/runtime inside the worktree.dotnet test test\NuGet.Core.FuncTests\Dotnet.Integration.Test\Dotnet.Integration.Test.csproj --no-build --no-restore --filter "FullyQualifiedName~DotnetRestore_MultiTargettingWithAliases_Succeeds" --logger "console;verbosity=normal"— passed (1 test) after test SDK setup.dotnet format whitespace --verify-no-changes NuGet.sln— passed after both cherry-picks, with workspace-loading warnings.PR Checklist