Sitelet https://github.com/fsprojects/Paket/issues/1213
Skip to content

Packages framework restriction are propagated incorrectly #1213

Description

@vbfox

Using this paket.dependencies file :

framework: >= net40

source https://nuget.org/api/v2

nuget Newtonsoft.Json redirects: on
nuget Nancy.Serialization.JsonNet ~> 1.2 framework: >= net451

The resulting lock file is :

FRAMEWORK: >= NET40
NUGET
  remote: https://nuget.org/api/v2
  specs:
    Nancy (1.4.1) - framework: >= net451
    Nancy.Serialization.JsonNet (1.4.1) - framework: >= net451
      Nancy (>= 1.4.1)
      Newtonsoft.Json
    Newtonsoft.Json (7.0.1) - redirects: on, framework: >= net451

But the Newtonsoft.Json (7.0.1) - redirects: on, framework: >= net451 line is incorrect as the configuration intended for Newtonsoft.Json to be usable in framework: >= net40.

It seem that the framework restriction applied to Nancy.Serialization.JsonNet has unexpectedly propagated to one of it's dependencies.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions