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 problem #1500

Closed
marcinbudny opened this issue Mar 8, 2016 · 0 comments
Closed

framework: auto-detect problem #1500

marcinbudny opened this issue Mar 8, 2016 · 0 comments
Labels

Comments

@marcinbudny
Copy link

When using framework: auto-detect in paket.dependencies in a C# solution, when conditions specified below are met, following error message appears:

Paket failed with:
        Package Autofac  - framework: net452 was referenced, but it was not found in the paket.lock file in group Main.

The conditions:

  • Solution depends on the Autofac package (probably this happens with other similar packages as well)
  • Solution also depends on another package X. Package X depends on Autofac. Package X is in a custom feed (not the official nuget feed)
  • Solution has more than one project. Projects target .NET 4.5.2

Problem does not occur on the initial paket install run (when no lock file is yet present). However it occurs on any subsequent paket install run.

If I use framework: <= net452 instead of framework: auto-detect, all works well.

I created a repro for this problem here: https://github.com/marcinbudny/PaketFrameworksProblemRepro

I'm using Paket version 2.51.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants