diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index f91ae85e20..0172faedce 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,6 @@ +#### 5.116.1 - 2017-10-18 +* REVERT: Do not reference NETStandard.Library directly - https://github.com/fsprojects/Paket/issues/2852 + #### 5.116.0 - 2017-10-18 * USABILITY: No need for .clitools file in /obj anymore diff --git a/src/Paket.Core/Installation/RestoreProcess.fs b/src/Paket.Core/Installation/RestoreProcess.fs index 726e1a25b0..24d14fcc6c 100644 --- a/src/Paket.Core/Installation/RestoreProcess.fs +++ b/src/Paket.Core/Installation/RestoreProcess.fs @@ -253,8 +253,6 @@ let createPaketPropsFile (cliTools:ResolvedPackage seq) restoreSuccess (fileInfo if verbose then tracefn " - %s already up-to-date" fileInfo.FullName -let ImplicitPackages = [PackageName "NETStandard.Library"] |> Set.ofList - let createProjectReferencesFiles (lockFile:LockFile) (projectFile:ProjectFile) (referencesFile:ReferencesFile) (resolved:Lazy>) (groups:Map) = let projectFileInfo = FileInfo projectFile.FileName let hulls = @@ -295,11 +293,10 @@ let createProjectReferencesFiles (lockFile:LockFile) (projectFile:ProjectFile) ( let restore = let resolvedPackage = resolved.Force().[key] - not (ImplicitPackages.Contains resolvedPackage.Name) && - match resolvedPackage.Settings.FrameworkRestrictions with - | Requirements.ExplicitRestriction restrictions -> - Requirements.isTargetMatchingRestrictions(restrictions, targetProfile) - | _ -> true + match resolvedPackage.Settings.FrameworkRestrictions with + | Requirements.ExplicitRestriction restrictions -> + Requirements.isTargetMatchingRestrictions(restrictions, targetProfile) + | _ -> true if restore then let _,packageName = key