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

Ignore unknown frameworks #2132

Merged
merged 3 commits into from
Jan 31, 2017
Merged

Conversation

vbfox
Copy link
Contributor

@vbfox vbfox commented Jan 30, 2017

  • 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

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
Copy link
Member

forki commented Jan 31, 2017

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