JoshKeegan / xRetry

Retry running tests via Xunit and Specflow
MIT License
57 stars 14 forks source link

Build fails on windows #258

Closed JoshKeegan closed 3 weeks ago

JoshKeegan commented 3 weeks ago

Just bumped packages & tried to run make ci before committing, but get errors. Haven't run this on windows for a while, so the problem is likely since adding Reqnroll support.

...
Build FAILED.

C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 1 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 2 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 3 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 4 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 5 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 6 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 7 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 8 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 9 in 1000ms. The process cannot access the f 
ile 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): warning MSB3026: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Beginning retry 10 in 1000ms. The process cannot access the  
file 'C:\code\xRetry\src\xRetry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. The file is locked by: ".NET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): error MSB3027: Could not copy "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". Exceeded retry count of 10. Failed. The file is locked by: ".N 
ET Host (24676), .NET Host (25404)" [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(4734,5): error MSB3021: Unable to copy file "obj\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll" to "bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll". The process cannot access the file 'C:\code\xRetry\src\xR 
etry.Reqnroll\bin\Release\netstandard2.0\xRetry.ReqnrollPlugin.dll' because it is being used by another process. [C:\code\xRetry\src\xRetry.Reqnroll\xRetry.Reqnroll.csproj]
    10 Warning(s)
    2 Error(s)

Time Elapsed 00:00:11.75
make: *** [Makefile:29: build] Error 1
JoshKeegan commented 3 weeks ago

Just a problem on my machine - works after reboot