Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet test build failures are not reported in terminal logger, and run succeeds #4683

Closed
nohwnd opened this issue Jan 16, 2025 · 0 comments · Fixed by dotnet/sdk#46051
Closed
Assignees
Labels
External: dotnet test `dotnet test` integration
Milestone

Comments

@nohwnd
Copy link
Member

nohwnd commented Jan 16, 2025

Describe the bug

Running project from #4682 leads to dll conflicts. Those conflicts are reported from msbuild but not to screen as errors. Leading to successful run.

Steps To Reproduce

$env:DOTNET_CLI_TESTINGPLATFORM_ENABLE=1; dotnet test -bl

Expected behavior

When there is build failure all projects should be reported, and run should fail.

Actual behavior

Errored projects fail to run, but only successfuly built projects are reported and tests pass.

Additional context

Image

@nohwnd nohwnd added the External: dotnet test `dotnet test` integration label Jan 16, 2025
@nohwnd nohwnd added this to the .NET 10 milestone Jan 16, 2025
@nohwnd nohwnd self-assigned this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External: dotnet test `dotnet test` integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant