diff --git a/build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets b/build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets
index f267e7394..a785e7b3c 100644
--- a/build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets
+++ b/build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets
@@ -91,7 +91,6 @@
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
@@ -101,7 +100,6 @@
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web1.1" />
diff --git a/build_projects/dotnet-cli-build/DotNetRestore.cs b/build_projects/dotnet-cli-build/DotNetRestore.cs
index 05e531dea..d3f1a2b4d 100644
--- a/build_projects/dotnet-cli-build/DotNetRestore.cs
+++ b/build_projects/dotnet-cli-build/DotNetRestore.cs
@@ -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()
{