-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target framework: Added >= and made warnings more clear #768
Conversation
/cc @theimowski |
@@ -184,7 +184,8 @@ module NugetEnv = | |||
Packages = [for node in doc.SelectNodes("//package") -> | |||
{ Id = node.Attributes.["id"].Value | |||
Version = node.Attributes.["version"].Value |> SemVer.Parse | |||
TargetFramework = node |> getAttribute "targetFramework" } ]} | |||
TargetFramework = | |||
node |> getAttribute "targetFramework" |> Option.map (fun t -> ">= " + t) } ]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so this is actually the only change necessary? i.e. we don't need to call the optimizeRestrictions
function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I think the optimization happens later anyways. :-)
ready to merge? |
I guess there's this one thing that could be corrected, from my last code comment - everything else seems fine |
Fixed that, and some code clean-up also. |
❤️ |
Target framework: Added >= and made warnings more clear
👍 |
No description provided.