Skip to content

Commit

Permalink
Use GetProperty from ProjectFile.GetTargetFrameworkIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
allykzam committed Nov 16, 2015
1 parent e756a1a commit 1b02825
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Paket.Core/ProjectFile.fs
Original file line number Diff line number Diff line change
Expand Up @@ -916,9 +916,7 @@ type ProjectFile =
|> Seq.head

member this.GetTargetFrameworkIdentifier() =
seq { for outputType in this.Document |> getDescendants "TargetFrameworkIdentifier" ->
outputType.InnerText }
|> Seq.tryHead
this.GetProperty "TargetFrameworkIdentifier"

member this.GetTargetFrameworkProfile() =
seq {for outputType in this.Document |> getDescendants "TargetFrameworkProfile" ->
Expand Down

0 comments on commit 1b02825

Please sign in to comment.