Description
In my global Nuget config I have a source that requires authentication.
I've authenticated for this source before. dotnet restore
works fine and can access packages from this source.
But in F# interactive (fsx script or console) all Nuget package commands like #r "nuget: Microsoft.ABC
fail (even for packages that aren't from the problematic source).
Error message:
/Users/omcnoe/stdin(1,1): error FS3217: /usr/local/share/dotnet/sdk/7.0.306/NuGet.targets(156,5): warning : The plugin credential provider could not acquire credentials. Authentication may require manual action. Consider re-running the command with --interactive for 'dotnet', /p:NuGetInteractive="true" for MSBuild or removing the -NonInteractive switch for 'NuGet' [/Users/omcnoe/.packagemanagement/nuget/Projects/--SNIP--/Project.fsproj]
Unlike the error message suggests, dotnet fsi --interactive
or dotnet --interactive fsi
are not valid commands