Getting local Nuget Package into Visual Studio Solution

Viewed 1870

I have a nuget package file (*.nupkg) saved on my Desktop. I am trying to get this into my Visual Studio solution. Does anyone know how to do this?

1 Answers

Please follow the below steps.

  1. Open solution exploler of your project from Visual Studio.

  2. Right click on the project in which you want add the nuget package.

  3. Select Manage NuGet Packages.

  4. Click on the settings icon present on the right top of the window.

  5. Click on ' + ' and give a name add the nuget package location where it is saved in your local computer.

  6. Click ok and switch "Package source" to your recently added one. which enables to search for the package from the newly added location.

  7. Search and reference the package in your project.

Related