35395

How to install all NuGet packages from specific source?

Question:

How to install all NuGet packages from specific source? Does exist console command for it?

Answer1:

You can use "-Source" on the "Install-Package" command or you can use the drop down to choose a configured source (when using the package manager console).

Here is the documentation for the Install-Package command: <a href="http://docs.nuget.org/docs/reference/package-manager-console-powershell-reference#Install-Package" rel="nofollow">http://docs.nuget.org/docs/reference/package-manager-console-powershell-reference#Install-Package</a>

To configure a custom package source, go to Tools -> Options -> Package Manager -> Package Sources and add your custom source to the list.

After adding it, you should be able to choose it when installing from the dialog, or you can use the drop down box in the console to choose it.

Recommend

  • OpenCV and C++ - Shape and road signs detection
  • java string index out of bound exception
  • Starting a javascript prompt after a button is clicked
  • How do I get feedback about DSC execution on an Azure VM?
  • Is it possible to reorder or ignore parameters in controller routes?
  • Hold Old and New value in SaveChange as DbEntityEntry.Entity to Audit
  • MvvmCross - View not loaded
  • Variable amount of columns returned in mysqli prepared statement
  • how can I access to a hashed key stored by spring redis session using RedisTemplate?
  • kafka-topics.sh ---delete --topic ''testTopic'' is not working for kafka V 0.10.
  • Select Checkbox !== Select Row Table
  • how to make all possible power set(or subset) from arrayList objects?
  • Excel export not working on Firefox but working fine in google crome
  • Extract the data specified in brackets '[ ]' from a string message in python
  • Carrierwave default image doesn't display
  • Calling UDF on Dataframe with Serialization Issue
  • How to use grep to output unique lines of code from a file?
  • AppEngine Paypal integration giving SSLCertificateError on localhost, using Python
  • C++ Time measurement of functions
  • Google Chrome compositor-driven animation affected by jam in main thread
  • JSF validateLength question
  • Redmine can't generate secret token
  • Launch Dash from Jupyter Notebook
  • Adding custom message on Thank You page by shipping method
  • Caffe : train network accuracy = 1 constant ! Accuracy issue
  • List using with references, changes behavior when used as a member
  • Python List of Tuples (Find value with key + check if exist)
  • Calculate savings percentage for house down payment in 36 months
  • async GET request with body from browser
  • Jenkins sending notifications to the wrong commit id
  • Using loops in Jasmine (with injected service)
  • How can i use JQuery fadeTo() in IE 7?
  • Pick Out Specific Number from Array? [duplicate]
  • Ajax call on Multiple selection in Select box
  • How to split wav file into two or more parts using c#
  • Content-Type alternative in MQTT
  • How can I ssh into a server that requires 2 password authentication using python's paramiko mod
  • How to encrypt Connectionstring written in web.config from codebehind?
  • Call Microservice from another Microservice within Docker
  • Firebase: How to read from external DB?