diff --git a/src/Paket.Core/Versioning/Requirements.fs b/src/Paket.Core/Versioning/Requirements.fs index b8e5a797cc..3b269fb3d0 100644 --- a/src/Paket.Core/Versioning/Requirements.fs +++ b/src/Paket.Core/Versioning/Requirements.fs @@ -671,7 +671,7 @@ let parseRestrictionsLegacy failImmediatly (text:string) = restriction, remaining - | x when x.StartsWith "=" -> + | x when x.StartsWith "="-> let fw, remaining = frameworkToken (x.Substring 1) let handlers = @@ -679,6 +679,15 @@ let parseRestrictionsLegacy failImmediatly (text:string) = tryParseFramework handlers fw, remaining + | x when x.StartsWith "<="-> + traceWarn "<= in framework restriction `%s` found. Interpretation as = ." + let fw, remaining = frameworkToken (x.Substring 2) + + let handlers = + [ extractFw >> Option.map FrameworkRestriction.Exactly ] + + tryParseFramework handlers fw, remaining + | x -> let fw, remaining = frameworkToken x diff --git a/src/Paket/Paket.fsproj b/src/Paket/Paket.fsproj index 2434886ff2..660e79d4e3 100644 --- a/src/Paket/Paket.fsproj +++ b/src/Paket/Paket.fsproj @@ -33,9 +33,9 @@ Project install C:\temp\Gu.Reactive - init + update C:\proj\Paket - D:\temp\cs + D:\temp\paket-mobile-test\ true