diff --git a/eng/cake/dotnet.cake b/eng/cake/dotnet.cake index 8f583288d0d5..f3695e719aa3 100644 --- a/eng/cake/dotnet.cake +++ b/eng/cake/dotnet.cake @@ -315,24 +315,6 @@ Task("dotnet-pack-library-packs") var destDir = $"./artifacts/library-packs"; EnsureDirectoryExists(destDir); CleanDirectories(destDir); - - void Download(string id, string version, params string[] sources) - { - version = XmlPeek("./eng/Versions.props", "/Project/PropertyGroup/" + version); - - NuGetInstall(id, new NuGetInstallSettings - { - Version = version, - ExcludeVersion = false, - OutputDirectory = tempDir, - Source = sources, - }); - - CopyFiles($"{tempDir}/**/" + id + "." + version + ".nupkg", destDir, false); - CleanDirectories(tempDir); - } - - // Download("PACKAGE_ID", "VERSION_VARIABLE", "SOURCE_URL"); }); Task("dotnet-pack-docs")