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:
parent
47fb245258
commit
b72d625168
12 changed files with 138 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue