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

Comments

Projects
None yet
2 participants
@inosik
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

This comment has been minimized.

Show comment
Hide comment
@forki

forki Jan 31, 2017

Member

can you please a sample zip with the repro?

Member

forki commented Jan 31, 2017

can you please a sample zip with the repro?

@inosik

This comment has been minimized.

Show comment
Hide comment
@inosik

inosik Jan 31, 2017

Contributor

Here you go: Repro2096.zip

Contributor

inosik commented Jan 31, 2017

Here you go: Repro2096.zip

@forki forki closed this in 5b216e1 Mar 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment