Skip to content

Backport AOT publishing and TFM alias test fixes to 8.0.x - #7826

Merged
zivkan merged 2 commits into
release/8.0.xfrom
dev-zivkan-backport-aot-xmldoc-fix
Oct 30, 2026
Merged

zivkan merged 2 commits into
release/8.0.xfrom
dev-zivkan-backport-aot-xmldoc-fix

Conversation

@zivkan

@zivkan zivkan commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Bug

Fixes: infrastructure

Description

Cherry-picks from dev onto release/8.0.x, both applied without conflicts:

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

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@zivkan
zivkan requested a review from a team as a code owner October 28, 2026 00:04
@zivkan zivkan added the Engineering Changes related to the build infrastructure of the repo and that do not change product code label Oct 28, 2026
@zivkan zivkan changed the title Disable XML documentation publishing for AOT compatibility app (#7779) Make tests green on release/8.0.x branch Oct 29, 2026
(cherry picked from commit 1ec5a94)

Co-authored-by: Copilot App <[email protected]>
@zivkan zivkan changed the title Make tests green on release/8.0.x branch Backport AOT publishing and TFM alias test fixes to 8.0.x Oct 29, 2026
@zivkan
zivkan merged commit 86859b4 into release/8.0.x Oct 30, 2026
17 of 18 checks passed
@zivkan
zivkan deleted the dev-zivkan-backport-aot-xmldoc-fix branch October 30, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Changes related to the build infrastructure of the repo and that do not change product code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants