Skip to content

Instantly share code, notes, and snippets.

@tomwis
Created February 4, 2018 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomwis/6886e5547f1784369239ce3b2b50d916 to your computer and use it in GitHub Desktop.
Save tomwis/6886e5547f1784369239ce3b2b50d916 to your computer and use it in GitHub Desktop.
Task("restore")
.Does(() =>
{
var nugetSettings = new NuGetRestoreSettings
{
ArgumentCustomization = args => args.Append("-PackagesDirectory ./packages")
};
NuGetRestore ("./project_path.csproj", nugetSettings);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment