Skip to content

Re-enable legacy contracts restore test - #56788

Merged
marcpopMSFT merged 1 commit into
mainfrom
marcpopmsft-weekly-test-cleanup-4a5
Nov 3, 2026
Merged

marcpopMSFT merged 1 commit into
mainfrom
marcpopmsft-weekly-test-cleanup-4a5

Conversation

@marcpopMSFT

Copy link
Copy Markdown
Member

🤖 Part of the weekly SDK test issue cleanup effort.

Re-enables GivenThatWeWantToBuildANetCoreApp.ReferenceLegacyContracts, which verifies that projects can restore and build when referencing legacy contract packages from different .NET 1.x bands while using a runtime identifier.

The original restore failure is no longer reproducible with the current SDK. The test passed three consecutive local runs against a freshly built Debug redist.

Closes #3044.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6012cd00-09a4-4070-921b-a256bd44dca4
@marcpopMSFT
marcpopMSFT requested a review from a team as a code owner October 26, 2026 16:47
Copilot AI balanced review requested due to automatic review settings October 26, 2026 16:47
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change only removes a test skip, restoring existing coverage without changing production behavior or test logic.

No open issues 🎉

What changed in this PR

Re-enables the existing legacy-contract regression test in the SDK build test suite, restoring coverage associated with issue #3044.

Changes:

  • Removes the Ignore attribute from ReferenceLegacyContracts.
  • Leaves test logic, assertions, and production code unchanged.
File Description
test/​Microsoft.NET.Build.Tests/​GivenThatWeWantToBuildANetCoreApp.cs Re-enables the legacy-contract restore and build test.

Review effort: Balanced

@marcpopMSFT
marcpopMSFT merged commit 6580e74 into main Nov 3, 2026
26 checks passed
@marcpopMSFT
marcpopMSFT deleted the marcpopmsft-weekly-test-cleanup-4a5 branch November 3, 2026 22:57
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.

Restore fails if netstandard1.x package reference is present

3 participants