Skip to content

Commit

Permalink
Better parsing of framework restrictions - fixes #1232
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Nov 17, 2015
1 parent ff5158c commit 845d877
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### 2.26.0-alpha007 - 17.11.2015
#### 2.26.0-alpha008 - 17.11.2015
* Try all 4 NuGet APIs for "GetPackageDetails" in parallel - https://github.com/fsprojects/Paket/issues/1225
* BUGFIX: Better parsing of framework restrictions - https://github.com/fsprojects/Paket/issues/1232
* BUGFIX: Fix props files - https://github.com/fsprojects/Paket/issues/1233
Expand Down
2 changes: 1 addition & 1 deletion src/Paket.Core/Nuget.fs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type NugetPackageCache =
LicenseUrl : string
CacheVersion: string }

static member CurrentCacheVersion = "2.0"
static member CurrentCacheVersion = "2.1"

/// The NuGet cache folder.
let CacheFolder =
Expand Down
2 changes: 1 addition & 1 deletion src/Paket.Core/Requirements.fs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ let rec optimizeRestrictions restrictions =
| FrameworkRestriction.AtLeast(DotNetFramework(x)) -> isMatching x
| _ -> false

match newRestrictions' |> Seq.tryFind isLowerVersion with
match newRestrictions' |> Seq.rev |> Seq.tryFind isLowerVersion with
| None -> newRestrictions'
| Some n ->
let newLowest =
Expand Down
2 changes: 1 addition & 1 deletion src/Paket/Paket.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<StartArguments>update group Build</StartArguments>
<StartArguments>pack output D:\code\paketbug\output</StartArguments>
<StartArguments>install</StartArguments>
<StartArguments>update</StartArguments>
<StartArguments>update -f</StartArguments>
<StartAction>Project</StartAction>
<StartProgram>paket.exe</StartProgram>
<StartWorkingDirectory>c:\code\Paketkopie</StartWorkingDirectory>
Expand Down

0 comments on commit 845d877

Please sign in to comment.