Skip to content

Handle silverlight framework identifiers comparison - #1138

Merged
forki merged 3 commits into
fsprojects:masterfrom
vbfox:silverlight-dotnet-framework2
Oct 15, 2015
Merged

forki merged 3 commits into
fsprojects:masterfrom
vbfox:silverlight-dotnet-framework2

Conversation

@vbfox

@vbfox vbfox commented Oct 15, 2015

Copy link
Copy Markdown
Contributor

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

forki commented Oct 15, 2015

Copy link
Copy Markdown
Member

so is this already ready?

@vbfox

vbfox commented Oct 15, 2015

Copy link
Copy Markdown
Contributor Author

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

forki commented Oct 15, 2015

Copy link
Copy Markdown
Member

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