Add basic authentication support for custom nuget sources
When you have a self hosted feed or a private feed on myget, its typically secured by basic authentication. Would be great if you could add support for this when adding new feeds in the Nuget Settings dialog. Current behavior is that it throws an unauthorized error from Nuget.Core
Now available in latest LINQPad 5 release: http://www.linqpad.net/download.aspx#beta5
It's not working for me...
It works! Thanks a lot!
Hallur Holm Johannessen commented
The company where I am working at right now are also using myget.org. But I finally found a way to get LinqPad to use the feeds successfully :)
I needed to setup a proxy on my local machine, using Burp Proxy Free Edidtion. And then configured LinqPad to use the local proxy.
If anyone is interested, I can provide the complete list of steps needed to get this working.
I tried to add a custom Nuget.config file with feed credentials to %localappdata%\Linqpad\Nuget\, %appdata\Linqpad\Nuget\, %programfiles(x86)%\Linqpad\, %programfiles(x86)%\Linqpad\Nuget, as well as the standard %appdata%\Nuget\ but Linqpad doesn't seem to pay attention to any of these and my feeds I setup via `nuget sources add` are not present.
Chris Kirby commented
This would be a huge help, I hope its considered soon.
Timothy Nelson commented
myget.org is an easy way to set up a private feed, with basic auth.
There will be more and more users using the private feed feature and willing to load their nuget package into linqpad...
tried https://user:password@url --- doesnt work either.
We have a custom NuGet server at our organisation and it uses basic authentication. There is no way for me to include packages from this server at the moment. It would be simple yet great feature to have.
At least supporting the Windows Credential Store would help. I assume it's easier to get the password from the Credential Store than getting/saving the passwords in LinqPad itself.