Skip to content

Commit

Permalink
Use .NET version from global.json
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Dec 11, 2017
1 parent 4897187 commit 4c14992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ let dotnetcliVersion : string =
try
let content = File.ReadAllText "global.json"
let json = Newtonsoft.Json.Linq.JObject.Parse content
let sdk = json.Item("sdk") :?> JObject
let sdk = json.Item("sdk") :?> Newtonsoft.Json.Linq.JObject
let version = sdk.Property("version").Value.ToString()
version
with
Expand Down

0 comments on commit 4c14992

Please sign in to comment.