Skip to content

Instantly share code, notes, and snippets.

@HowardvanRooijen
Last active August 29, 2015 14:03
Show Gist options
  • Save HowardvanRooijen/e394fe1a34d2b1e2fc02 to your computer and use it in GitHub Desktop.
Save HowardvanRooijen/e394fe1a34d2b1e2fc02 to your computer and use it in GitHub Desktop.
Default Nuget.config files configured for automatic package restore. Valid for NuGet 2.8
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="repositorypath" value=".\..\Packages\" />
<!-- Lowest/HighestPatch/HighestMinor/Highest -->
<add key="dependencyversion" value="Highest" />
</config>
<packageRestore>
<!-- Allow NuGet to download missing packages -->
<add key="enabled" value="True" />
<!-- Automatically check for missing packages during build in Visual Studio -->
<add key="automatic" value="True" />
</packageRestore>
<packageSources>
<!-- Add custom package repositories here -->
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
</packageSources>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment