Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1470577
Build error leg or test failing: Build AoT: macOS (arm64) — GetAssemblyAttributes task fails building Microsoft.DotNet.ApiCompat.Task
Pull request: #54713
Error Message
The AoT: macOS (arm64) build leg intermittently fails because the GetAssemblyAttributes task cannot open Microsoft.DotNet.ApiCompat.Task.dll — the file is locked by another concurrent process during the build:
/Users/runner/work/1/s/.dotnet/sdk/.../Microsoft.NET.Sdk.targets(1200,5): error MSB4018: The "GetAssemblyAttributes" task failed unexpectedly. [.../Microsoft.DotNet.ApiCompat.Task.csproj]
... error MSB4018: System.IO.IOException: The process cannot access the file '.../artifacts/obj/Microsoft.DotNet.ApiCompat.Task/Release/net10.0/Microsoft.DotNet.ApiCompat.Task.dll' because it is being used by another process.
at Microsoft.NET.Build.Tasks.FileUtilities.GetAssemblyVersion(String sourcePath)
at Microsoft.NET.Build.Tasks.GetAssemblyAttributes.ExecuteCore()
This is an intermittent build-infrastructure file-locking race, unrelated to the code under test.
{
"ErrorMessage": "Microsoft.DotNet.ApiCompat.Task.dll' because it is being used by another process",
"ErrorPattern": "",
"BuildRetry": true,
"ExcludeConsoleLog": true
}
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1470577
Error message validated: [Microsoft.DotNet.ApiCompat.Task.dll' because it is being used by another process]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/18/2026 2:57:59 PM UTC
Report
Summary
| 24-Hour Hit Count |
7-Day Hit Count |
1-Month Count |
| 1 |
22 |
27 |
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1470577
Build error leg or test failing: Build AoT: macOS (arm64) —
GetAssemblyAttributestask fails buildingMicrosoft.DotNet.ApiCompat.TaskPull request: #54713
Error Message
The
AoT: macOS (arm64)build leg intermittently fails because theGetAssemblyAttributestask cannot openMicrosoft.DotNet.ApiCompat.Task.dll— the file is locked by another concurrent process during the build:This is an intermittent build-infrastructure file-locking race, unrelated to the code under test.
{ "ErrorMessage": "Microsoft.DotNet.ApiCompat.Task.dll' because it is being used by another process", "ErrorPattern": "", "BuildRetry": true, "ExcludeConsoleLog": true }Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1470577
Error message validated:
[Microsoft.DotNet.ApiCompat.Task.dll' because it is being used by another process]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/18/2026 2:57:59 PM UTC
Report
Summary