Skip to content

Instantly share code, notes, and snippets.

@jclapis
Created February 8, 2020 22:30
Show Gist options
  • Save jclapis/bdaced295f3637f061f10e7db3a555a4 to your computer and use it in GitHub Desktop.
Save jclapis/bdaced295f3637f061f10e7db3a555a4 to your computer and use it in GitHub Desktop.
Adding a Local NuGet Repository to a Soution
  1. Make a file called nuget.config in the same directory as the solution
  2. Open it and add this as the contents:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <packageSources>
        <add key="Local Repo" value="./lib" />
    </packageSources>
</configuration>

Replace value="./lib" with whatever folder you have that contains your NuGet packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment