framework: auto-detect problem #1500

marcinbudny opened this Issue Mar 8, 2016 · 0 comments


None yet
2 participants

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:

I'm using Paket version

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