{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1798","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1798/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1798/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1798/events","html_url":"https://github.com/NuGet/Home/issues/1798","id":119666755,"number":1798,"title":"nuget.exe updating package installs it in other projects","user":{"login":"kimbirkelund","id":1884017,"avatar_url":"https://avatars.githubusercontent.com/u/1884017?v=3","gravatar_id":"","url":"https://api.github.com/users/kimbirkelund","html_url":"https://github.com/kimbirkelund","followers_url":"https://api.github.com/users/kimbirkelund/followers","following_url":"https://api.github.com/users/kimbirkelund/following{/other_user}","gists_url":"https://api.github.com/users/kimbirkelund/gists{/gist_id}","starred_url":"https://api.github.com/users/kimbirkelund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimbirkelund/subscriptions","organizations_url":"https://api.github.com/users/kimbirkelund/orgs","repos_url":"https://api.github.com/users/kimbirkelund/repos","events_url":"https://api.github.com/users/kimbirkelund/events{/privacy}","received_events_url":"https://api.github.com/users/kimbirkelund/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NuGet/Home/labels/Area:CommandLine","name":"Area:CommandLine","color":"159818"},{"url":"https://api.github.com/repos/NuGet/Home/labels/Priority:1","name":"Priority:1","color":"fbca04"},{"url":"https://api.github.com/repos/NuGet/Home/labels/Type:Bug","name":"Type:Bug","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"johnataylor","id":2523898,"avatar_url":"https://avatars.githubusercontent.com/u/2523898?v=3","gravatar_id":"","url":"https://api.github.com/users/johnataylor","html_url":"https://github.com/johnataylor","followers_url":"https://api.github.com/users/johnataylor/followers","following_url":"https://api.github.com/users/johnataylor/following{/other_user}","gists_url":"https://api.github.com/users/johnataylor/gists{/gist_id}","starred_url":"https://api.github.com/users/johnataylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnataylor/subscriptions","organizations_url":"https://api.github.com/users/johnataylor/orgs","repos_url":"https://api.github.com/users/johnataylor/repos","events_url":"https://api.github.com/users/johnataylor/events{/privacy}","received_events_url":"https://api.github.com/users/johnataylor/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NuGet/Home/milestones/22","html_url":"https://github.com/NuGet/Home/milestones/3.4","labels_url":"https://api.github.com/repos/NuGet/Home/milestones/22/labels","id":1382170,"number":22,"title":"3.4","description":null,"creator":{"login":"feiling","id":2679220,"avatar_url":"https://avatars.githubusercontent.com/u/2679220?v=3","gravatar_id":"","url":"https://api.github.com/users/feiling","html_url":"https://github.com/feiling","followers_url":"https://api.github.com/users/feiling/followers","following_url":"https://api.github.com/users/feiling/following{/other_user}","gists_url":"https://api.github.com/users/feiling/gists{/gist_id}","starred_url":"https://api.github.com/users/feiling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiling/subscriptions","organizations_url":"https://api.github.com/users/feiling/orgs","repos_url":"https://api.github.com/users/feiling/repos","events_url":"https://api.github.com/users/feiling/events{/privacy}","received_events_url":"https://api.github.com/users/feiling/received_events","type":"User","site_admin":false},"open_issues":239,"closed_issues":46,"state":"open","created_at":"2015-10-28T20:03:08Z","updated_at":"2016-01-20T23:03:48Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-12-01T08:31:47Z","updated_at":"2016-01-20T23:37:01Z","closed_at":"2016-01-20T23:03:48Z","body":"\r\nRepro solution available here: https://onedrive.live.com/redir?resid=4C2997B2E5861492!415578&authkey=!ALqDgQAd9Q10uNM&ithint=file%2czip\r\n\r\nThe linked solution contains two console projects: \r\n - ConsoleProject1 references Newtonsoft.Json\r\n - ConsoleProject2 references EntityFramework (the specific package doesn't appear to matter)\r\n\r\nWhen running the update command:\r\n```\r\nnuget.exe update .\\NugetUpdateTest.sln -id newtonsoft.json\r\n```\r\n\r\nThe Newtonsoft.Json package is installed in ConsoleProject2 which didn't have it previously, regardless of whether an update was available for the project that had the package. \r\n\r\nThis issue generalizes to the point where updating a single package from the command line installs that package and all dependent packages in all projects in the solution.\r\n\r\nAs a side note: it is interesting that this command appears to be able to the work that install doesn't (i.e. add references and content files - it doesn't appear to run the PowerShell scripts though)."},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/173402797","html_url":"https://github.com/NuGet/Home/issues/1798#issuecomment-173402797","issue_url":"https://api.github.com/repos/NuGet/Home/issues/1798","id":173402797,"user":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T23:37:01Z","updated_at":"2016-01-20T23:37:01Z","body":"You can find nuget.commandline package containing nuget.exe 3.4 in this gallery on myget http://myget.org/gallery/nugetbuild"}}