From b2116af4886d7fd4311077814ed59dcd16153f9f Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 9 Aug 2017 13:00:59 +0200 Subject: [PATCH] Faster lookup in Proget - fixes #2466 --- RELEASE_NOTES.md | 2 +- src/Paket.Core/Dependencies/NuGetV2.fs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index f7e9c1ae6b..21aeb88275 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,4 @@ -#### 5.84.2 - 09.08.2017 +#### 5.84.3 - 09.08.2017 * Faster look up in ProGet #### 5.84.0 - 30.07.2017 diff --git a/src/Paket.Core/Dependencies/NuGetV2.fs b/src/Paket.Core/Dependencies/NuGetV2.fs index 000046f0b2..87bfd0f0e7 100644 --- a/src/Paket.Core/Dependencies/NuGetV2.fs +++ b/src/Paket.Core/Dependencies/NuGetV2.fs @@ -312,7 +312,7 @@ let getDetailsFromNuGetViaODataFast auth nugetURL (packageName:PackageName) (ver return! fallback2() } - let firstUrl = sprintf "%s/Packages?$filter=(Id eq '%s') and (NormalizedVersion eq '%s')" nugetURL (packageName.CompareString) normalizedVersion + let firstUrl = sprintf "%s/Packages?$filter=(Id eq '%s') and (NormalizedVersion eq '%s')" nugetURL (packageName.ToString()) normalizedVersion try let! raw = getFromUrl(auth,firstUrl,acceptXml) if verbose then