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

framework: auto-detect causes Out of sync warning #2096

Closed
inosik opened this issue Dec 23, 2016 · 2 comments
Closed

framework: auto-detect causes Out of sync warning #2096

inosik opened this issue Dec 23, 2016 · 2 comments

Comments

@inosik
Copy link
Contributor

inosik commented Dec 23, 2016

Description

As the title says, framework: auto-detect in paket.dependencies causes the out-of-sync warning to be printed.

Repro steps

  1. Create a paket.dependencies with framework: auto-detect, like this:

    source https://nuget.org/api/v2
    framework: auto-detect
    
    nuget Expecto
    
  2. Create an F# project with a paket.references:

    Expecto
    
  3. $ paket install

  4. $ paket restore

Expected behavior

I don't know what would be the best here. Maybe the warning should also tell why the warning is printed, so I can decide whether it is important or not.

Actual behavior

Paket prints the out-of-sync-warning. IMHO because paket.lock says FRAMEWORK: NET45.

Known workarounds

  • Change framework: auto-detect to framework: net45 in paket.dependencies
  • Use the --ignore-checks flag
@forki
Copy link
Member

forki commented Jan 31, 2017

can you please a sample zip with the repro?

@inosik
Copy link
Contributor Author

inosik commented Jan 31, 2017

Here you go: Repro2096.zip

@forki forki closed this as completed in 5b216e1 Mar 13, 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

No branches or pull requests

2 participants