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
Hi. I tried to build for linux-arm but got an error when restoring packages dotnet restore -r linux-arm
Determining projects to restore...
/home/matthickford/Git-Credential-Manager-Core/src/shared/Atlassian.Bitbucket.Tests/Atlassian.Bitbucket.Tests.csproj : error NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. [/home/matthickford/Git-Credential-Manager-Core/Git-Credential-Manager.sln]
...
Failed to restore /home/matthickford/Git-Credential-Manager-Core/src/shared/GitHub.Tests/GitHub.Tests.csproj (in 784 ms).
Failed to restore /home/matthickford/Git-Credential-Manager-Core/src/shared/Microsoft.AzureRepos.Tests/Microsoft.AzureRepos.Tests.csproj (in 782 ms).
Failed to restore /home/matthickford/Git-Credential-Manager-Core/src/shared/Atlassian.Bitbucket.Tests/Atlassian.Bitbucket.Tests.csproj (in 812 ms).
Failed to restore /home/matthickford/Git-Credential-Manager-Core/src/shared/Microsoft.Git.CredentialManager.Tests/Microsoft.Git.CredentialManager.Tests.csproj (in 812 ms).
10 of 14 projects are up-to-date for restore.
This happened with .NET 5.0.400 and GCM Core source v2.0.498 . I'm cross compiling from a faster debian.10-x64 computer. dotnet restore worked as expected, though dotnet restore -r linux-64 failed with the same error as above.
The text was updated successfully, but these errors were encountered:
hickford
changed the title
"error NU1605: Detected package downgrade" when dotnet restore -r linux-arm
"error NU1605: Detected package downgrade" when restoring packages for runtime linux-arm
Sep 26, 2021
I'm cross compiling from a faster debian.10-x64 computer. dotnet restore worked as expected, though dotnet restore -r linux-64 failed with the same error as above.
I installed the arm32 dotnet sdk on the Raspberry Pi, and dotnet restore worked successfully, so this must be some upstream issue concerning dotnet restore --runtime, perhaps dotnet/sdk#9518
Hi. I tried to build for linux-arm but got an error when restoring packages
dotnet restore -r linux-arm
Full log attached. restore.txt
This happened with .NET 5.0.400 and GCM Core source v2.0.498 . I'm cross compiling from a faster debian.10-x64 computer.
dotnet restore
worked as expected, thoughdotnet restore -r linux-64
failed with the same error as above.The text was updated successfully, but these errors were encountered: