diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 43ca31193b..dde0d1ca6f 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,4 @@ -#### 4.0.0-rc8 - 14.03.2017 +#### 4.0.0-rc9 - 14.03.2017 * Make Paket compatible with DotNet SDK / MSBuild 15 / Visual Sudio 2017 * Tail Recursive Package Resolution - https://github.com/fsprojects/Paket/pull/2066 * Reorganized resolver - https://github.com/fsprojects/Paket/pull/2039 diff --git a/src/Paket.Core/Files/ProjectFile.fs b/src/Paket.Core/Files/ProjectFile.fs index cb5b5ee2c3..7c7296d9d9 100644 --- a/src/Paket.Core/Files/ProjectFile.fs +++ b/src/Paket.Core/Files/ProjectFile.fs @@ -12,6 +12,7 @@ open System.Xml open Paket.Xml open Paket.Requirements open Paket.PackageSources +open System.Globalization [] type BuildAction = @@ -1524,7 +1525,7 @@ type ProjectFile with member this.GetToolsVersion () : float = try let v = this.ProjectNode.Attributes.["ToolsVersion"].Value - match Double.TryParse v with + match Double.TryParse(v, NumberStyles.Any, CultureInfo.InvariantCulture) with | true , 15.0 -> let sdkAttr = this.ProjectNode.Attributes.["Sdk"] if isNull sdkAttr || String.IsNullOrWhiteSpace sdkAttr.Value