diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index f2201570a8..57c70b18e6 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,6 @@ +#### 4.0.3 - 16.03.2017 +* BUGFIX: framework: auto-detect didn't work with Paket 4 - https://github.com/fsprojects/Paket/issues/2188 + #### 4.0.2 - 16.03.2017 * Handle empty references files for .NET Core diff --git a/src/Paket.Core/Requirements.fs b/src/Paket.Core/Requirements.fs index ead984b88b..ffc3b733f5 100644 --- a/src/Paket.Core/Requirements.fs +++ b/src/Paket.Core/Requirements.fs @@ -449,6 +449,7 @@ let filterRestrictions (list1:FrameworkRestrictions) (list2:FrameworkRestriction match list1,list2 with | FrameworkRestrictionList [], AutoDetectFramework -> AutoDetectFramework | AutoDetectFramework, FrameworkRestrictionList [] -> AutoDetectFramework + | AutoDetectFramework, AutoDetectFramework -> AutoDetectFramework | FrameworkRestrictionList list1 , FrameworkRestrictionList list2 -> let filtered = match list1, list2 with