{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/2132","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/2132/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/2132/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/2132/events","html_url":"https://github.com/NuGet/Home/issues/2132","id":134605657,"number":2132,"title":"Nuget automatically removes dependencies from packages.config","user":{"login":"Dashue","id":473789,"avatar_url":"https://avatars.githubusercontent.com/u/473789?v=3","gravatar_id":"","url":"https://api.github.com/users/Dashue","html_url":"https://github.com/Dashue","followers_url":"https://api.github.com/users/Dashue/followers","following_url":"https://api.github.com/users/Dashue/following{/other_user}","gists_url":"https://api.github.com/users/Dashue/gists{/gist_id}","starred_url":"https://api.github.com/users/Dashue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dashue/subscriptions","organizations_url":"https://api.github.com/users/Dashue/orgs","repos_url":"https://api.github.com/users/Dashue/repos","events_url":"https://api.github.com/users/Dashue/events{/privacy}","received_events_url":"https://api.github.com/users/Dashue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-18T15:11:12Z","updated_at":"2016-02-19T23:14:44Z","closed_at":null,"body":"To set the scene: I have a solution with a bunch of projects. There is issues with the packages.config of one project, let's call it 'Project X'.\r\n\r\nWhenever I install or update a nuget that is in another project than 'Project X', some packages from the packages.config of 'Project X' gets removed.\r\nI then manually have to install those packages into 'Project X' again.\r\n\r\nI'm using a shared path for nuget packages, through a nuget.config at the root of my solution.\r\n\r\n    <configuration>\r\n      <config>\r\n        <add key=\"repositoryPath\" value=\"./Packages\" />\r\n      </config>\r\n    </configuration>\r\n\r\nWorth mentioning is that 'Project X' is referenced by multiple different solutions.\r\nThe hintpaths of the references appears to be correct, pointing to the shared packages folder.\r\n\r\nI do not understand why this is happening or what is causing it.\r\n\r\nPlease help me with this weird situation\r\n\r\nEdit: It actually happens by just rebuilding the solution\r\nNuGet Version: 3.3.0.212\r\nVisual studio 2013"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/186445803","html_url":"https://github.com/NuGet/Home/issues/2132#issuecomment-186445803","issue_url":"https://api.github.com/repos/NuGet/Home/issues/2132","id":186445803,"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-02-19T23:14:44Z","updated_at":"2016-02-19T23:14:44Z","body":"I don't have enough information from the report to make a determination so I'll try to start you up on two paths:\r\n\r\n1.  We do no support sharing packages folders across multiple solutions. I'm guessing what you are seeing is that one solution is removing the packages from another solution rather from two projects in the same solution.\r\n\r\n2. There is also a potential mix up in the versions you are reporting\r\n\r\nNuGet version 3.3.0.212 is a nuget.exe version that matches visual studio 2015. So how exactly are you updating the packages? Is it in nuget.exe or in visual studio.\r\n\r\nFYI - We do have a known issue in nuget.exe that looks like the same issue you are reporting it was fixed in 3.4 which you can find in myget.org on the nugetbuild feed."}}