简体   繁体   中英

Is there any way to view Nuget package sources available for visual studio directly from command line

How do I view Nuget package sources in visual studio through command line, WITHOUT going to package manager setting in visual studio? Also, dotnet cli also shows nuget package sources by running "dotnet nuget list source" command. Are these sources outputted by the dotnet cli the same nuget source in VS?

You can download the nuget.exe here: https://www.nuget.org/downloads

Then run this command: nuget.exe sources List

Or you can directly check the NuGet.Config file in %appdata%\NuGet (the full path: C:\Users\ {username} \AppData\Roaming\NuGet)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM