{"action":"opened","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/3960","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/3960/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/3960/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/3960/events","html_url":"https://github.com/NuGet/Home/issues/3960","id":189881387,"number":3960,"title":"Nuget solution restore has different behavior in UI vs commandline for .vcxproj with project.json","user":{"login":"bbowman","id":15642573,"avatar_url":"https://avatars.githubusercontent.com/u/15642573?v=3","gravatar_id":"","url":"https://api.github.com/users/bbowman","html_url":"https://github.com/bbowman","followers_url":"https://api.github.com/users/bbowman/followers","following_url":"https://api.github.com/users/bbowman/following{/other_user}","gists_url":"https://api.github.com/users/bbowman/gists{/gist_id}","starred_url":"https://api.github.com/users/bbowman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbowman/subscriptions","organizations_url":"https://api.github.com/users/bbowman/orgs","repos_url":"https://api.github.com/users/bbowman/repos","events_url":"https://api.github.com/users/bbowman/events{/privacy}","received_events_url":"https://api.github.com/users/bbowman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-16T23:21:24Z","updated_at":"2016-11-16T23:21:24Z","closed_at":null,"body":"Using command line client version 3.5.0.1938 and package manager version 3.5.0.1996, I see that with the UI, a .vcxproj with a project.json file produces:\r\n\r\nPackage restore completed successfully for 'hmapmaker'.\r\nWriting lock file to disk. Path: Y:\\Arcadia\\WinObjC\\WinObjC.Build\\vsimporter\\hmapmaker\\project.lock.json\r\nGenerating MSBuild file hmapmaker.nuget.targets.\r\nGenerating MSBuild file hmapmaker.nuget.props.\r\n\r\nwhich works and injects the .props and .targets sucessfully.\r\n\r\nIn the command line output, however, I see:\r\nWriting lock file to disk. Path: Y:\\Arcadia\\WinObjC\\WinObjC.Build\\vsimporter\\hmapmaker\\project.lock.json\r\n\r\nonly.\r\n\r\nIt appears that on the command line, it is treating the project as only a stand-alone project.json and not as \"part\" of the project.\r\n"}}
{"actor":{"display_login":"bbowman"}}