This commit is contained in:
Piotr Puszkiewicz 2017-01-24 02:36:04 -08:00
parent 131c63ae27
commit f4f325f1d5
2 changed files with 1 additions and 15 deletions

View file

@ -91,7 +91,6 @@
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
<DotNetRestore ToolPath="$(Stage2Directory)"
IgnoreMissingSources="True"
Packages="$(NuGetPackagesArchiveFolder)"
SkipInvalidConfigurations="True"
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
@ -101,7 +100,6 @@
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web1.1" />
<DotNetRestore ToolPath="$(Stage2Directory)"
IgnoreMissingSources="True"
Packages="$(NuGetPackagesArchiveFolder)"
SkipInvalidConfigurations="True"
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web1.1" />

View file

@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Cli.Build
protected override string Args
{
get { return $"{GetProjectPath()} {GetConfigFile()} {GetSource()} {GetPackages()} {GetIgnoreMissingSources()} {GetSkipInvalidConfigurations()} {GetRuntime()} {GetAdditionalParameters()}"; }
get { return $"{GetProjectPath()} {GetConfigFile()} {GetSource()} {GetPackages()} {GetSkipInvalidConfigurations()} {GetRuntime()} {GetAdditionalParameters()}"; }
}
public string ConfigFile { get; set; }
@ -26,8 +26,6 @@ namespace Microsoft.DotNet.Cli.Build
public string Packages { get; set; }
public bool SkipInvalidConfigurations { get; set; }
public bool IgnoreMissingSources { get; set; }
public string Runtime { get; set; }
@ -80,16 +78,6 @@ namespace Microsoft.DotNet.Cli.Build
return null;
}
private string GetIgnoreMissingSources()
{
if (IgnoreMissingSources)
{
return "--ignore-failed-sources";
}
return null;
}
private string GetRuntime()
{