Skip to content

Instantly share code, notes, and snippets.

@ediblecode
Created February 5, 2019 10:37
Show Gist options
  • Save ediblecode/6caa7464ad0f1d213b6f1d63f5d77ce3 to your computer and use it in GitHub Desktop.
Save ediblecode/6caa7464ad0f1d213b6f1d63f5d77ce3 to your computer and use it in GitHub Desktop.
Local install NuGet package
# Install (extracts) package named Package.Name.Here.1.0.0.nupkg into the packages folder
nuget install Package.Name.Here -OutputDirectory packages
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="Local" value="C:\Users\iroutledge\Documents\Dev\some-path" />
</packageSources>
<disabledPackageSources>
<!-- Disable any package sources here -->
<add key="nuget.org" value="true" />
<add key="Microsoft Visual Studio Offline Packages" value="true" />
</disabledPackageSources>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment