dotnet-search icon indicating copy to clipboard operation
dotnet-search copied to clipboard

Doesn't seem to respect global Nuget.Config

Open VictorioBerra opened this issue 5 years ago • 3 comments

I cant search local sources.

Maybe a --source flag? or check the global nuget.config?

I can do dotnet add package ABC and it works but dotnet search ABC does not.

VictorioBerra avatar Aug 19 '19 13:08 VictorioBerra

This a cool dotnet tool! Please add --configfile and --source options to support custom nuget source.

About nuget.config priority

  • configfile <path/to/nuget.config>
  • environment variable (but dotnet cli doesn't support yet)
  • find nuget.config in current directory
  • using global nuget.config

thanks!

m2nlight avatar Sep 23 '19 01:09 m2nlight

Would changing to search for packages like this fix that? I've been looking for a cross platform nuget package explorer user interface that worked on ubuntu. I found this project, and it looks like the Nuget APIs have a cross platform way of searching packages accross repos on your computer.

NathanielACollier avatar May 21 '20 19:05 NathanielACollier

Ah crap, maybe my issue is a duplicate? Also this is an old issue. Not sure if this project is getting updates.. https://github.com/billpratt/dotnet-search/issues/13

Valkah avatar Mar 28 '23 20:03 Valkah