Skip to content

Dotnet restore loop due to architecture mismatch #632

@emilyjiji

Description

@emilyjiji

From Visual Studio I have an architecture mismatch because:

my machine: arm64
my .net sdk: arm64
visual studio: arm64
Azure Artifacts Credential Provider: x64

So Visual Studio tries to load the x64 plugin causing a NuGet restore loop / bad state.

Everything works in the CLI because it uses MSAL and VS uses CredentialProviderPlugin.

Reference commit: 0b972b3 - "Use the detected runtime id os for win-arm64 fall back to x64" could be the reason...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions