Include ASP packages in offline cache (#5124)

* Archive asp.net package references

* Archive asp.net package references

* Change the hash input so it's the same on all platforms

* Address PR comments
This commit is contained in:
Justin Goshi 2016-12-27 11:28:24 -10:00 committed by GitHub
parent 47fb245258
commit b72d625168
12 changed files with 138 additions and 11 deletions

View file

@ -12,7 +12,19 @@ namespace Microsoft.DotNet.Cli.Build
protected override string Args
{
get { return $""; }
get { return $"{GetTemplateType()}"; }
}
public string TemplateType { get; set; }
private string GetTemplateType()
{
if (!string.IsNullOrEmpty(TemplateType))
{
return $"--type {TemplateType}";
}
return null;
}
}
}