Skip to content
Prev Previous commit
Next Next commit
fixes #2222 , paket was not able to properly parse its own output.
  • Loading branch information
matthid committed Apr 9, 2017
commit 14319bde16bb8a8cd30443c089b3ce83f928aa28
5 changes: 3 additions & 2 deletions src/Paket.Core/FrameworkHandling.fs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ module KnownAliases =
".netframework", "net"
".netcore", "netcore"
"winrt", "netcore"
"netcoreapp", "netcore"
"silverlight", "sl"
"windowsphone", "wp"
"windows", "win"
Expand Down Expand Up @@ -364,8 +365,8 @@ module FrameworkDetection =
| "netstandard14" -> Some(DotNetStandard DotNetStandardVersion.V1_4)
| "netstandard15" -> Some(DotNetStandard DotNetStandardVersion.V1_5)
| "netstandard16" -> Some(DotNetStandard DotNetStandardVersion.V1_6)
| "netcoreapp10" -> Some (DotNetCore DotNetCoreVersion.V1_0)
| "netcoreapp11" -> Some (DotNetCore DotNetCoreVersion.V1_1)
| "netcore10" | "netcoreapp10" -> Some (DotNetCore DotNetCoreVersion.V1_0)
| "netcore11" | "netcoreapp11" -> Some (DotNetCore DotNetCoreVersion.V1_1)
| v when v.StartsWith "netstandard" -> Some(DotNetStandard DotNetStandardVersion.V1_6)
| _ -> None
result)
Expand Down