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
From time to time we get the following error on build agents:
C:\Program Files\dotnet\sdk\2.1.505\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets(134,5): error MSB3713: The file "obj\Release\net45\xxx.AssemblyInfo.cs" could not be created. The process cannot access the file '...\obj\Release\net45\xxx.AssemblyInfo.cs' because it is being used by another process.
Sometimes it occurs on developer machines as well.
The classic MSBuild targets solved problems like that by waiting for access during 10 seconds or so. It would be nice to see a fix for that in .NET SDK as well.