Skip to content

Ignore unknown frameworks - #2132

Merged
forki merged 3 commits into
fsprojects:masterfrom
vbfox:ignore_unknown_frameworks
Jan 31, 2017
Merged

forki merged 3 commits into
fsprojects:masterfrom
vbfox:ignore_unknown_frameworks

Conversation

@vbfox

@vbfox vbfox commented Jan 30, 2017

Copy link
Copy Markdown
Contributor
  • Ignore unknown frameworks in conditional references
    Previously when a conditional reference was parsed (BenchmarkDotNet depending on BenchmarDotNet.Core only on netcoreapp1.1 for example) and the framework was unknown it was assumed to be .Net 1.0+
    Such conditional references are now ignored and a message is displayed on the verbose log about it instead.
  • Bump CurrentCacheVersion
    It isn't necessary for this PR but wasn't done in Add "netcoreapp1.1" #2129 and it is necessary to ensure that new frameworks are correctly parsed and used.
    This commit also add comments to remember to do it each time frameworks are added or their parsing is changed.
    (I discussed in BenchmarkDotNet doesn't seem to install all necessary dependencies #2109 that I wanted to add such version number but it turns out that it already exists 👍 )

Fixes #2109

vbfox added 3 commits January 30, 2017 20:55
Previously when a conditional reference was parsed (BenchmarkDotNet
depending on BenchmarDotNet.Core only on netcoreapp1.1 for example) and
the framework was unknown it was assumed to be .Net 1.0+

Such conditional references are now ignored and a message is displayed on
the verbose log about it instead.

Fixes fsprojects#2109
It isn't necessary for this PR but wasn't done in fsprojects#2129 but it is
necessary to ensure that new frameworks are correctly parsed and used.

This commit also add comments to remember to do it each time frameworks
are added or their parsing is changed.
Also use the paket version as cache version
@forki

forki commented Jan 31, 2017

Copy link
Copy Markdown
Member

thanks!

@forki
forki merged commit ccefb08 into fsprojects:master Jan 31, 2017
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