Skip to content

--interactive is not interactive #610

@wobbet

Description

@wobbet

Trying to get into private NuGet feed w/ the Credential Provider and I'm guessing it is not even being invoked.

Attempt to use --interactive and -- verbosity detailed and nothing interesting is actually provided back.

Attempt to run the credential provider directly against my feed and am being told that I don't have an up-to-date version of .NET. I do have .NET 10 as the current running version and the error message tells me I need version 8 (or higher????).

Is 10 really not sufficient?

Operating System - Windows 11
Credential Provider - 2.0.0-alpha manually installed

Note - the site docs say to run the provider directly using the netfx plugin path instead of the netcore plugin path. But the 2.0.0-alpha zip file does not have a netfx plugin path so I updated my execution to use the netcore version.

PS C:\path  dotnet --version
10.0.100

dotnet restore --interactive --verbosity detailed
    Determining projects to restore...
    C:\path\the.csproj : error NU1301:
      Unable to load the service index for source https://pathtofeed/nuget/v3/index.json.
        Response status code does not indicate success: 401 (Unauthorized).
    Failed to restore C:\Users\rsanford\Code\TrustedSide\Common\AURA.Common.MQTT\AURA.Common.MQTT.csproj (in 9.85 sec).

PS C:\path C:\Users\username\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.exe  -I -V Verbose -U "https://pathtofeed/nuget/v3/index.json"
You must install or update .NET to run this application.

App: C:\Users\username\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: C:\Users\rsanford\.nuget\plugins\netcore\CredentialProvider.Microsoft\

No frameworks were found.

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=x64&rid=win-x64&os=win10

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