Skip to content

Commit

Permalink
Use GetProperty from ProjectFile.GetTargetFrameworkProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
allykzam committed Nov 16, 2015
1 parent 1b02825 commit b905c75
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 @@ -919,9 +919,7 @@ type ProjectFile =
this.GetProperty "TargetFrameworkIdentifier"

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

member this.GetTargetProfile() =
match this.GetTargetFrameworkProfile() with
Expand Down

0 comments on commit b905c75

Please sign in to comment.