From f8c82f8bb8ce654bd8340c860eb444c2f005e58a Mon Sep 17 00:00:00 2001 From: Lukas Rieger Date: Mon, 24 Apr 2017 01:37:07 +0200 Subject: [PATCH] fix superset direction --- src/Paket.Core/Files/ProjectFile.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paket.Core/Files/ProjectFile.fs b/src/Paket.Core/Files/ProjectFile.fs index 9ed3f49710..d530d0547d 100644 --- a/src/Paket.Core/Files/ProjectFile.fs +++ b/src/Paket.Core/Files/ProjectFile.fs @@ -796,7 +796,7 @@ module ProjectFile = if not importTargets then List.empty, List.empty else let sortedTargets = model.TargetsFileFolders |> List.sortBy (fun lib -> lib.Name) sortedTargets - |> List.partition (fun lib -> set lib.Targets |> Set.isSuperset allTargetProfiles) + |> List.partition (fun lib -> (set lib.Targets).IsSupersetOf allTargetProfiles) let frameworkSpecificTargetsFileConditions = frameworkSpecificTargets