{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/3112","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/3112/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/3112/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/3112/events","html_url":"https://github.com/aspnet/dnx/issues/3112","id":114558421,"number":3112,"title":"DNX Restore does not work properly when project.json is edited outside the solution (project.json.lock is out of date)","user":{"login":"Mertsch","id":9402861,"avatar_url":"https://avatars.githubusercontent.com/u/9402861?v=3","gravatar_id":"","url":"https://api.github.com/users/Mertsch","html_url":"https://github.com/Mertsch","followers_url":"https://api.github.com/users/Mertsch/followers","following_url":"https://api.github.com/users/Mertsch/following{/other_user}","gists_url":"https://api.github.com/users/Mertsch/gists{/gist_id}","starred_url":"https://api.github.com/users/Mertsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mertsch/subscriptions","organizations_url":"https://api.github.com/users/Mertsch/orgs","repos_url":"https://api.github.com/users/Mertsch/repos","events_url":"https://api.github.com/users/Mertsch/events{/privacy}","received_events_url":"https://api.github.com/users/Mertsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-02T09:33:47Z","updated_at":"2015-11-02T09:33:47Z","closed_at":null,"body":"I am working on two machines with the same code stored in VS Online. I use the TF Version Control to share my changes between those two machines.\r\nWhat happened the second time now for me and is quite annoying is that\r\n1. I use a package like ```JetBrains.Annotations``` in multiple projects\r\n2. Both machines are up to date with the source code and dependencies\r\n3. I upgrade the package on one machine (e.g. 10.0.0-eap3 to 10.0.0), and DNX Restore properly updates the references and stuff\r\n4. I check in the code and download the updates on the other machine without having the solution open\r\n5. The second machine see the new package, but the project.json.lock file is still in the old dependency state\r\n6. I get a compiler warning/error\r\n\r\nWhat does not work: Manually restore packages via the context menu\r\n\r\nThe only way to fix this is\r\n* Change a random package in ```project.json```, wait for restore, change it back\r\n* Delete (all) ```project.json.lock``` files, and let DNX restore create an updated version"}}