diff --git a/src/app/Fake.DotNet.Paket/Paket.fs b/src/app/Fake.DotNet.Paket/Paket.fs index 02e0ec45af9..0148630691d 100644 --- a/src/app/Fake.DotNet.Paket/Paket.fs +++ b/src/app/Fake.DotNet.Paket/Paket.fs @@ -33,11 +33,11 @@ type PaketPackParams = PinProjectReferences : bool } let private findPaketExecutable () = - match Tools.tryFindToolFolderInSubPath "paket" with + match Tools.tryFindToolFolderInSubPath "paket.exe" with | Some folder -> - folder @@ "paket" + folder @@ "paket.exe" | None -> - (Tools.findToolFolderInSubPath "paket.exe" (Directory.GetCurrentDirectory() @@ ".paket")) @@ "paket.exe" + (Tools.findToolFolderInSubPath "paket" (Directory.GetCurrentDirectory() @@ ".paket")) @@ "paket" /// Paket pack default parameters let PaketPackDefaults() : PaketPackParams =