Skip to content

Remove nuget.exe TFM alias test - #7808

Merged
zivkan merged 2 commits into
devfrom
dev-zivkan-custom-aliases-ci-failure
Oct 20, 2026
Merged

zivkan merged 2 commits into
devfrom
dev-zivkan-custom-aliases-ci-failure

Conversation

@zivkan

@zivkan zivkan commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Bug

Fixes: infrastructure

Description

CI runs of the NuGet.CommandLine.Test.RestoreNetCoreTest.RestoreNetCore_WithCustomAliases_WritesConditionWithCorrectAlias test are failing with the following errors:

NU1101: Unable to find package Microsoft.AspNetCore.App.Ref. No packages exist with this id in source(s): source
NU1101: Unable to find package Microsoft.NETCore.App.Host.win-x64. No packages exist with this id in source(s): source
NU1101: Unable to find package Microsoft.NETCore.App.Ref. No packages exist with this id in source(s): source
NU1101: Unable to find package Microsoft.WindowsDesktop.App.Ref. No packages exist with this id in source(s): source

The test is more or less duplicating what other integrations validate for TFM aliases, just for nuget.exe. Rather than adding complexity in having a -windows TFM test that has these kinds of SDK problems, we can trust that custom aliases are generic restore features, so testing using another entry point proves it'll work with nuget.exe as well.

PR Checklist

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

@zivkan
zivkan requested a review from a team as a code owner October 20, 2026 20:26
@zivkan
zivkan requested a review from nkolev92 October 20, 2026 20:50
@zivkan zivkan changed the title Fix custom alias test on CI Remove nuget.exe TFM alias test Oct 20, 2026

@nkolev92 nkolev92 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@zivkan
zivkan enabled auto-merge (squash) October 20, 2026 21:21
@zivkan
zivkan merged commit 1ec5a94 into dev Oct 20, 2026
18 checks passed
@zivkan
zivkan deleted the dev-zivkan-custom-aliases-ci-failure branch October 20, 2026 23:34
zivkan added a commit that referenced this pull request Oct 29, 2026
(cherry picked from commit 1ec5a94)

Co-authored-by: Copilot App <[email protected]>
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.

3 participants