Skip to content
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

Handle silverlight framework identifiers comparison #1138

Merged
merged 3 commits into from
Oct 15, 2015

Conversation

vbfox
Copy link
Contributor

@vbfox vbfox commented Oct 15, 2015

Continue on & rebase #1130 (That was itself based on #1127)

I didn't keep the history because the back & forth was just making the pull request unreadable.

FrameworkRestriction.IsSameCategoryAs was introduced in addition to the version on FrameworkIdentifier to avoid repeating the checks over and over.

vbfox added 3 commits October 15, 2015 14:33
FrameworkIdentifier instances were compared structurally before but it
was problematic in some cases as '>= net45' matched 'sl40' that wasn't
in the same framework.

Fixes fsprojects#1124
@forki
Copy link
Member

forki commented Oct 15, 2015

so is this already ready?

@vbfox
Copy link
Contributor Author

vbfox commented Oct 15, 2015

Yes I think it is, I ran paket install on our work solution and between this change and #1137 it really clean the references & Conditions in the projects.

Actually #1137 even found a bug in our restrictions where a >= net451 package was used in a net40 project 👍

@forki
Copy link
Member

forki commented Oct 15, 2015

very cool

forki added a commit that referenced this pull request Oct 15, 2015
Handle silverlight framework identifiers comparison
@forki forki merged commit 4f79f6c into fsprojects:master Oct 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants