-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
MSB4242: SDK Resolver Failure due to System.Threading.AbandonedMutexException #28488
Comments
Likely related to: NuGet/NuGet.Client@3c1bf9d by @kartheekp-ms |
I believe the solution is to add somethign like this: catch (AbandonedMutexException)
{
// Abandoned by another process, we acquired it.
}
From: https://learn.microsoft.com/en-us/dotnet/api/system.threading.mutex?view=net-6.0#remarks
|
Looks like a bug in our new MigrationRunner code, I will follow up with my team. |
NuGet side tracking bug NuGet/Home#12159 |
@breidikl - Sorry for the inconvenience caused by this bug. |
This issue will be tracked with the nuget side issue 12159. Closing for now. |
Describe the bug
Updating our build environment to use .NET 6 SDK 6.0.402 (from 6.0.401) and the associated 6.0.10 runtime packages is now resulting in intermittent failures as follows during dotnet restore calls:
"Name" varies build to build and appears to be a random set of csproj files being restored for each build. We have not been able to repro when rebuilding the same projects locally for the same environment.
Using 6.0.401 (with the 6.0.9 runtime packages) did not hit this with everything else in our environment being the same.
Further technical details
We are currently using MSBuild 17.3.4, and running "dotnet --info" shows the following:
The text was updated successfully, but these errors were encountered: