DEV Community

loading...
Cover image for Local NuGet repository

Local NuGet repository

Talles L
A Brazilian software developer 🇧🇷 that loves to play video-games 🎮, tries it best to be active on GitHub 💻, and sometimes writes here on DEV 📄
Updated on ・1 min read

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)