We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-Persist
It should see it as a file source and just work (tm)
I get an error about not providing an API Key as if it were a MyGet server or something.
If I use -Persist, the code works just fine.
$null = new-psdrive Name "X" -PSProvider FileSystem -root $DeploymentTarget -Credential $cred -ErrorAction Stop; dotnet nuget push something.nupkg -s "X:\"; # ERROR!!! MISSING API KEY
Simply adding -Persist will map the share top a drive letter and things work again.
Is there some way around this? I do not want to use -Persist on my build server.
The text was updated successfully, but these errors were encountered:
@nkolev92 this seems like a NuGet issue. Should I go ahead and move this to nuget/home?
Sorry, something went wrong.
Yeah, feel free to move it.
NuGet seems to detecting the source type wrong.
This issue was moved to NuGet/Home#8431
No branches or pull requests
Steps to reproduce
-Persist
Expected behavior
It should see it as a file source and just work (tm)
Actual behavior
I get an error about not providing an API Key as if it were a MyGet server or something.
If I use
-Persist
, the code works just fine.Simply adding
-Persist
will map the share top a drive letter and things work again.Is there some way around this? I do not want to use
-Persist
on my build server.The text was updated successfully, but these errors were encountered: