Search code examples
visual-studionuget

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


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

Can't see my packages


Solution

  • 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 in Solution Explorer, right click and select "Manage NuGet Packages". Select your new package source.

    Enter image description here

    Here is the documentation.