Skip to content

Fix ExitCode build break - #55378

Closed
dsplaisted wants to merge 1 commit into
mainfrom
fix-main-exitcode
Closed

Fix ExitCode build break#55378
dsplaisted wants to merge 1 commit into
mainfrom
fix-main-exitcode

Conversation

@dsplaisted

Copy link
Copy Markdown
Member

This seems to have been introduced with a combination of #55362 and another PR

This seems to have been introduced with a combination of #55362 and another PR
Copilot AI review requested due to automatic review settings July 20, 2026 14:43
@dsplaisted
dsplaisted requested a review from a team as a code owner July 20, 2026 14:43

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.

Pull request overview

Fixes a build break in dotnet.Tests caused by an ExitCode type-name collision between the CLI test command’s Microsoft.DotNet.Cli.Commands.Test.ExitCode and the SDK test framework’s Microsoft.NET.TestFramework.ExitCode brought into scope via test-wide global usings.

Changes:

  • Adds a using alias to force ExitCode references in TerminalTestReporterTests to bind to Microsoft.DotNet.Cli.Commands.Test.ExitCode.
  • Documents the reason for the alias (global using collision originating from test/Directory.Build.targets).

@dsplaisted

Copy link
Copy Markdown
Member Author

Superseded by #55372

@dsplaisted dsplaisted closed this Jul 20, 2026
@Evangelink
Evangelink deleted the fix-main-exitcode branch July 20, 2026 17:35
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.

2 participants