{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1712","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1712/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1712/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1712/events","html_url":"https://github.com/NuGet/Home/issues/1712","id":116273451,"number":1712,"title":"packages.config Package restore/update should detect some basic corruption scenarios, part 2","user":{"login":"OsirisTerje","id":203432,"avatar_url":"https://avatars.githubusercontent.com/u/203432?v=3","gravatar_id":"","url":"https://api.github.com/users/OsirisTerje","html_url":"https://github.com/OsirisTerje","followers_url":"https://api.github.com/users/OsirisTerje/followers","following_url":"https://api.github.com/users/OsirisTerje/following{/other_user}","gists_url":"https://api.github.com/users/OsirisTerje/gists{/gist_id}","starred_url":"https://api.github.com/users/OsirisTerje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OsirisTerje/subscriptions","organizations_url":"https://api.github.com/users/OsirisTerje/orgs","repos_url":"https://api.github.com/users/OsirisTerje/repos","events_url":"https://api.github.com/users/OsirisTerje/events{/privacy}","received_events_url":"https://api.github.com/users/OsirisTerje/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T06:15:13Z","updated_at":"2015-11-11T19:58:30Z","closed_at":null,"body":"If a developer adds a direct file reference to a packaged reference, but adds it from the output folder - something which is very easy to do, if you don't know the file is part of a package, the nuget update doesn't manage to either warn or correct package.config nor the reference.\r\n\r\n\r\nGiven an update of a beta package (1.0.3-beta4) to a stable version (1.0.3), using the package manager console :  update-package  MasterFlt   \r\n\r\n  The package has 2 dependencies.\r\nAccording to the log, all is being updated correctly:\r\nPackage 'Geometry.1.0.7' already exists in folder 'C:\\tfskb\\Nemo\\Baseline\\DeploymentTool\\.nuget\\..\\..\\packages'\r\nAdded package 'Geometry.1.0.7' to 'packages.config'\r\nSuccessfully installed 'Geometry 1.0.7' to CommonTestFiles\r\nPackage 'morelinq.1.4.0' already exists in folder 'C:\\tfskb\\Nemo\\Baseline\\DeploymentTool\\.nuget\\..\\..\\packages'\r\nAdded package 'morelinq.1.4.0' to 'packages.config'\r\nSuccessfully installed 'morelinq 1.4.0' to CommonTestFiles\r\nPackage 'MasterFlt.1.0.3' already exists in folder 'C:\\tfskb\\Nemo\\Baseline\\DeploymentTool\\.nuget\\..\\..\\packages'\r\nAdded package 'MasterFlt.1.0.3' to 'packages.config'\r\nSuccessfully installed 'MasterFlt 1.0.3' to CommonTestFiles\r\n\r\nBut in the package config file, only the dependencies are updated, not the package itself\r\n  <package id=\"Geometry\" version=\"1.0.7\" targetFramework=\"net452\" />\r\n  <package id=\"MasterFlt\" version=\"1.0.3-beta4\" targetFramework=\"net452\" />\r\n  <package id=\"morelinq\" version=\"1.4.0\" targetFramework=\"net452\" />\r\n\r\nIf I check the references, the MasterFlt file itself has been correctly updated, but not the other files in the same package.  \r\n\r\nI have seen similar issue now with VS 2015 and Nuget 3.2.61008.10581, also using the Manage Pacakges in solution dialog.  It says it has updated all packages, but it really hasn't, and  I believe the cause is the same - manually changed references disturbs the nuget updater. \r\n"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/155894210","html_url":"https://github.com/NuGet/Home/issues/1712#issuecomment-155894210","issue_url":"https://api.github.com/repos/NuGet/Home/issues/1712","id":155894210,"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":"2015-11-11T19:58:30Z","updated_at":"2015-11-11T19:58:30Z","body":"@OsirisTerje can you provide a repro project here? There are many moving pieces and it will be a lot easier to start with a project that is broken.\r\n\r\nAlso please provide exact versions of nuget and visual studio you are using?"}}