You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Operational Issue]: Flaky file lock issue in Microsoft.AspNetCore.Components.Gateway #8005
##[error].dotnet\sdk\11.0.100-preview.6.26359.118\Sdks\Microsoft.NET.Sdk.StaticWebAssets\targets\Microsoft.NET.Sdk.StaticWebAssets.Compression.targets(359,5): error : The process cannot access the file 'D:\a_work\1\s\src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Components.Gateway\Release\net11.0\compressed\publish\o4b6igg9d4-{0}-urybgy2z5y-urybgy2z5y.br' because it is being used by another process.
This exact file-lock failure reproduced after the issue was closed, on the Preview 7 shipping branch in Windows_Pgo_x64:
Microsoft.NET.Sdk.StaticWebAssets.Compression.targets(359,5): error: The process cannot access the file ...Microsoft.AspNetCore.Components.Gateway...compressed...br because it is being used by another process.
Activity
akoeplinger commentedon Jul 28, 2026
I've talked with @maraf and he said he'll take a look
dkurepa commentedon Jul 28, 2026
Also happening on main https://dev.azure.com/dnceng/internal/_build/results?buildId=3033151&view=logs&j=e45a3293-4024-5a66-d70f-cda470bd6fb5&t=c8d94cd3-2871-54fb-fc1f-63e2b69a3aca, so we'll need the fix in both places
maraf commentedon Jul 28, 2026
There is a parallel publish of the Gateway.csproj introduced in dotnet/aspnetcore#67599
https://github.com/dotnet/aspnetcore/blob/1d1e00c5e991f44227f91627e3fff9e8542c3ff4/src/Components/Gateway/cli/Microsoft.AspNetCore.Components.Gateway.Cli.csproj#L41-L50
Fix Gateway publish race with concurrent top-level build (#68069)
mmitche commentedon Jul 31, 2026
This exact file-lock failure reproduced after the issue was closed, on the Preview 7 shipping branch in
Windows_Pgo_x64:The build is still running, but this job has already failed.
akoeplinger commentedon Aug 4, 2026
The preview7 failure is expected, the fix was only done in main. Given the current state of p7 we likely can't backport it anymore, closing.