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

ResolveNuGetPackageAssets.ReferencedPackages returns the wrong result when dependencies are listed under framework #76

Open
nkolev92 opened this issue Apr 22, 2020 · 0 comments

Comments

@nkolev92
Copy link
Contributor

Sample project:

{
  "dependencies": {
    "System.Runtime": "4.0.0",
    "System.Dynamic.Runtime": "4.0.0",
    "System.Linq.Expressions": "4.0.0"
  },
  "frameworks": {
    "dotnet5.1": {
      "dependencies": {
        "System.IO": "4.0.0"
      }
    }
  }
}

When building this I would expect the build task to return System.IO in the list of ReferencedPackages. It does not.

Potentially hacky fix: dotnet/buildtools#368

Moved from: NuGet/Home#1843

cc @ericstj @jasonmalinowski

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

1 participant