Skip to content

Instantly share code, notes, and snippets.

@tomwis
Created Feb 4, 2018
Embed
What would you like to do?
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