Skip to content

Instantly share code, notes, and snippets.

@nicopaez
Last active January 3, 2016 22:29
Show Gist options
  • Save nicopaez/8529178 to your computer and use it in GitHub Desktop.
Save nicopaez/8529178 to your computer and use it in GitHub Desktop.
Dependency Management in .NET
$source = "http://nuget.org/nuget.exe"
$destination = "c:\BuildTools\NuGet.exe"
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($source, $destination)
cd c:\BuildTools\
nuget restore -PackageDirectory .
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="2.6.3" targetFramework="net45" />
<package id="NUnit.Runners" version="2.6.3" targetFramework="net45" />
<package id="MSBuildTasks" version="1.4.0.65"/>
<package id="FluentMigrator.Tools" version="1.1.2.1"/>
</packages>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment