{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/810","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/810/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/810/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/810/events","html_url":"https://github.com/fsprojects/Paket/issues/810","id":72421864,"number":810,"title":"Inconsistency when calling install and update","user":{"login":"dzendras","id":7687934,"avatar_url":"https://avatars.githubusercontent.com/u/7687934?v=3","gravatar_id":"","url":"https://api.github.com/users/dzendras","html_url":"https://github.com/dzendras","followers_url":"https://api.github.com/users/dzendras/followers","following_url":"https://api.github.com/users/dzendras/following{/other_user}","gists_url":"https://api.github.com/users/dzendras/gists{/gist_id}","starred_url":"https://api.github.com/users/dzendras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzendras/subscriptions","organizations_url":"https://api.github.com/users/dzendras/orgs","repos_url":"https://api.github.com/users/dzendras/repos","events_url":"https://api.github.com/users/dzendras/events{/privacy}","received_events_url":"https://api.github.com/users/dzendras/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fsprojects/Paket/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-01T12:21:00Z","updated_at":"2015-05-04T13:47:52Z","closed_at":"2015-05-01T18:44:11Z","body":"I found an extremely annoying behaviour of paket (tested against versions 0.42 and 1.3.0)\r\nI have a project which has only one dependency: a nuget package FSharp.Data 2.0.14. The dependency was properly installed, added to the project file, dll downloaded to packages directory. So everything works.\r\n\r\nWhat I expect now is that calling a sequence of commands: update, install, update, intall, update etc. should not change anything at all (as the version is fixed). Unfortunately paket falls into an infinite loop of changes:\r\n1. paket update - modifies csproj file and paket.lock file.\r\n2. paket install - discards changes introduced previously by modifying csproj and lock file.\r\n3. paket update - restores the state of csproj and lock files from the 1st step (by discarding changes made in the 2nd step)\r\n\r\nand so on...\r\n\r\nI have a sample solution which I'm more than happy to send you for analysis.\r\n\r\n![paket1](https://cloud.githubusercontent.com/assets/7687934/7430115/e8e49642-f005-11e4-9deb-88897492ecf9.png)\r\n\r\nwhich turns into:\r\n\r\n![paket2](https://cloud.githubusercontent.com/assets/7687934/7430116/e8e5b888-f005-11e4-9184-f4e046e23361.png)\r\n"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/98708564","html_url":"https://github.com/fsprojects/Paket/issues/810#issuecomment-98708564","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/810","id":98708564,"user":{"login":"dzendras","id":7687934,"avatar_url":"https://avatars.githubusercontent.com/u/7687934?v=3","gravatar_id":"","url":"https://api.github.com/users/dzendras","html_url":"https://github.com/dzendras","followers_url":"https://api.github.com/users/dzendras/followers","following_url":"https://api.github.com/users/dzendras/following{/other_user}","gists_url":"https://api.github.com/users/dzendras/gists{/gist_id}","starred_url":"https://api.github.com/users/dzendras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzendras/subscriptions","organizations_url":"https://api.github.com/users/dzendras/orgs","repos_url":"https://api.github.com/users/dzendras/repos","events_url":"https://api.github.com/users/dzendras/events{/privacy}","received_events_url":"https://api.github.com/users/dzendras/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T13:47:52Z","updated_at":"2015-05-04T13:47:52Z","body":"I did check the repro I sent you using version 1.3.3. There the last paket command ran was install. After I ran update I did modify the lock and csproj file again (why?). However when I ran install afterwards, none of the files were modified (good!). Running update again did nothing (good!).\r\n\r\nUnfortunately I was able to reproduce the problem using a different dependency.\r\nI can send you another repro."}}