DEV Community

Cover image for Local NuGet repository
Talles L
Talles L

Posted on • Updated on

Local NuGet repository

Just add another reference under <packageSources> on ~/.nuget/NuGet/NuGet.config (or %appdata%\NuGet\NuGet.Config on Windows):

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>Alt Text
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
    <add key="Home directory" value="/home/john/NuGet" />
  </packageSources>
</configuration>
Enter fullscreen mode Exit fullscreen mode

Or edit through the "Package Sources" option on Visual Studio:

Discussion (0)