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

Fix test to take warning MSB5018 #11499

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

JaynieBai
Copy link
Member

@JaynieBai JaynieBai commented Feb 26, 2025

Fixes #9176

Context

Occasionally temp files fail to delete because of virus checkers, so generate MSB5018 warning.
The commit d7788d6#diff-3abd8382aac3bdfa59d5c1ca41dd089795d6ca539a00b3c50eab4fd6a0996314 including string lockedFileMessage = LockCheck.GetLockedFileMessage(fileName); doesn't output the related process.

Changes Made

Add the warning MSB5018

@JaynieBai JaynieBai changed the title Update test to take warning MSB5018 Fix test to take warning MSB5018 Feb 26, 2025
@JaynieBai JaynieBai marked this pull request as ready for review March 6, 2025 09:41
@JaynieBai JaynieBai requested a review from maridematte March 6, 2025 09:41
@JaynieBai JaynieBai merged commit 617f678 into dotnet:main Mar 12, 2025
10 checks passed
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.

[Flaky test] Microsoft.Build.UnitTests.Exec_Tests.Timeout
3 participants