{"action":"opened","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1085","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1085/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1085/events","html_url":"https://github.com/NuGet/Home/issues/1085","id":98432848,"number":1085,"title":"Possible bug in dependency resolver","user":{"login":"thebigb","id":2717179,"avatar_url":"https://avatars.githubusercontent.com/u/2717179?v=3","gravatar_id":"","url":"https://api.github.com/users/thebigb","html_url":"https://github.com/thebigb","followers_url":"https://api.github.com/users/thebigb/followers","following_url":"https://api.github.com/users/thebigb/following{/other_user}","gists_url":"https://api.github.com/users/thebigb/gists{/gist_id}","starred_url":"https://api.github.com/users/thebigb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebigb/subscriptions","organizations_url":"https://api.github.com/users/thebigb/orgs","repos_url":"https://api.github.com/users/thebigb/repos","events_url":"https://api.github.com/users/thebigb/events{/privacy}","received_events_url":"https://api.github.com/users/thebigb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-31T17:14:47Z","updated_at":"2015-07-31T17:14:47Z","closed_at":null,"body":"I've filed an [issue](https://github.com/aspnet/EntityFramework/issues/2755) with the EF7 repository, of which I can't really tell if this is a bug in NuGet's dependency resolver, or expected behavior for misconfiguration in the nuspec file.\r\n\r\nBelow is the nuspec of the `System.Collections.Immutable` package. To summarize the issue I linked above, the issue is that with a *.NET 4.5* targeted project, NuGet will attempt to retrieve `System.Runtime` and similar packages while those (if I'm not mistaken) are only meant for *DNX 5.0* projects.\r\n\r\nSo I'm wondering whether `.NETPlatform5.0` is the proper target framework in the nuspec.\r\n\r\nAny thoughts?\r\n\r\nP.S. Is there a better way to follow the dependency resolution process? The `-WhatIf` flag gives a nice overview of the result, but doesn't really describe the process.\r\n\r\n```\r\n<?xml version=\"1.0\"?>\r\n<package xmlns=\"http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd\">\r\n  <metadata minClientVersion=\"2.8.6\">\r\n    <id>System.Collections.Immutable</id>\r\n    <version>1.1.37</version>\r\n    ...\r\n    <dependencies>\r\n      <group targetFramework=\".NETPlatform5.0\">\r\n        <dependency id=\"System.Runtime\" version=\"4.0.0\" />\r\n        <dependency id=\"System.Resources.ResourceManager\" version=\"4.0.0\" />\r\n        <dependency id=\"System.Diagnostics.Debug\" version=\"4.0.0\" />\r\n        <dependency id=\"System.Collections\" version=\"4.0.0\" />\r\n        <dependency id=\"System.Linq\" version=\"4.0.0\" />\r\n        <dependency id=\"System.Runtime.Extensions\" version=\"4.0.0\" />\r\n        <dependency id=\"System.Globalization\" version=\"4.0.0\" />\r\n        <dependency id=\"System.Threading\" version=\"4.0.0\" />\r\n      </group>\r\n    </dependencies>\r\n  </metadata>\r\n</package>\r\n```"}}