Closed bruno-garcia closed 3 years ago
We had problems with Windows GH actions too lately, restoring packages:
D:\a\Ben.Demystifier\Ben.Demystifier\test\Ben.Demystifier.Test\Ben.Demystifier.Test.csproj : error NU1102: Unable to find package Microsoft.NET.Test.Sdk with version (>= 16.8.3) [D:\a\Ben.Demystifier\Ben.Demystifier\Ben.Demystifier.sln]
D:\a\Ben.Demystifier\Ben.Demystifier\test\Ben.Demystifier.Test\Ben.Demystifier.Test.csproj : error NU1102: - Found 1 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 16.6.1 ] [D:\a\Ben.Demystifier\Ben.Demystifier\Ben.Demystifier.sln]
There seems to be a workaround:
https://github.com/actions/setup-dotnet/issues/155#issuecomment-748452076
Usually just starts working again after a few minutes/hours.
Added the workaround https://github.com/benaadams/Ben.Demystifier/pull/135
🥳
Thank you
SourceLink is already in, but not marking the build as CI (now GH actions is in place, it's just):
https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/#deterministic-builds