How do I install a NuGet package .nupkg file locally?

Tom picture Tom · Apr 20, 2012 · Viewed 593.8k times · Source

I have some .nupkg files from a C# book. How can I install them?

Can't see my packages

Answer

Shyju picture Shyju · Apr 20, 2012

Menu ToolsOptionsPackage Manager

Enter image description here

Give a name and folder location. Click OK. Drop your NuGet package files in that folder.

Go to your Project, right click and select "Manage NuGet Packages" and select your new package source.

Enter image description here

Here is the documentation.