Closed
Description
.dotnet\sdk\6.0.100-rc.2.21505.57\Microsoft.Common.CurrentVersion.targets(3264,5):
error MSB3101: (NETCORE_ENGINEERING_TELEMETRY=Build)
Could not write state file
"D:\a\_work\1\s\artifacts\obj\Microsoft.Interop.SourceGeneration\netstandard2.0-Release\Microsoft.Interop.SourceGeneration.csproj.GenerateResource.cache".
The process cannot access the file
'D:\a\_work\1\s\artifacts\obj\Microsoft.Interop.SourceGeneration\netstandard2.0-Release\Microsoft.Interop.SourceGeneration.csproj.GenerateResource.cache'
because it is being used by another process.
The failure happened in the CI of this PR: #59850
It was the net48 x86 leg:
https://github.com/dotnet/runtime/pull/59850/checks?check_run_id=4316507944
Variant: "File already exists" instead of "File used by another process":
https://dev.azure.com/dnceng/public/_build/results?buildId=1490663&view=logs&j=924a68e5-ba21-56d0-bfb9-0b068c6fae9a&t=8c8cf4a0-c3ab-58ea-a108-e7df9b47cd9f&l=2889
.dotnet/sdk/6.0.100/Microsoft.Common.CurrentVersion.targets(2304,5): error MSB3101:
(NETCORE_ENGINEERING_TELEMETRY=Build) Could not write state file
"/Users/runner/work/1/s/artifacts/obj/Microsoft.Interop.SourceGeneration/netstandard2.0-Debug/Microsoft.Interop.SourceGeneration.csproj.AssemblyReference.cache".
The file
'/Users/runner/work/1/s/artifacts/obj/Microsoft.Interop.SourceGeneration/netstandard2.0-Debug/Microsoft.Interop.SourceGeneration.csproj.AssemblyReference.cache'
already exists.