Skip to content

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
This was referenced Oct 15, 2025
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