{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/1354","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/1354/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/1354/events","html_url":"https://github.com/fsprojects/Paket/issues/1354","id":125358067,"number":1354,"title":"Usability issue with nuget creation","user":{"login":"tsibelman","id":172522,"avatar_url":"https://avatars.githubusercontent.com/u/172522?v=3","gravatar_id":"","url":"https://api.github.com/users/tsibelman","html_url":"https://github.com/tsibelman","followers_url":"https://api.github.com/users/tsibelman/followers","following_url":"https://api.github.com/users/tsibelman/following{/other_user}","gists_url":"https://api.github.com/users/tsibelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tsibelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsibelman/subscriptions","organizations_url":"https://api.github.com/users/tsibelman/orgs","repos_url":"https://api.github.com/users/tsibelman/repos","events_url":"https://api.github.com/users/tsibelman/events{/privacy}","received_events_url":"https://api.github.com/users/tsibelman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-07T09:35:07Z","updated_at":"2016-01-07T10:03:13Z","closed_at":null,"body":"I have a following simple dependency\r\n\r\npaket.dependencies\r\nnuget Newtonsoft.Json >= 7\r\n\r\npaket.lock\r\nNewtonsoft.Json (8.0.1) \r\n\r\nAs you can see in paket.dependencies it defined >=7 and in paket.lock as 8.0.1, my code is compiled against 8.0.1 and uses it features. \r\n\r\nWhen I publish a nuget with my code, I have 2 options ether to use paket.dependencies or paket.lock\r\nIf I use paket.dependencies and some one uses my nuget he will get Newtonsoft.Json of version 7.0 but my code is actually relying on version 8.0 and fail in runtime.\r\n\r\nIf I use paket.lock I making dependency too strict for my users.\r\n\r\nThat I really would like is that nuget will be created with dependency on Newtonsoft.Json >= 8.0.1\r\n\r\nRight now the only way to achive this as far as I know is by manually updating paket.dependencies after running paket update command in case some dependency was updated.\r\nIt time consuming and fragile. \r\n\r\nIdeally I think pack command should merge between information in paket.dependencies and paket.lock\r\n"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/169615226","html_url":"https://github.com/fsprojects/Paket/issues/1354#issuecomment-169615226","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/1354","id":169615226,"user":{"login":"tsibelman","id":172522,"avatar_url":"https://avatars.githubusercontent.com/u/172522?v=3","gravatar_id":"","url":"https://api.github.com/users/tsibelman","html_url":"https://github.com/tsibelman","followers_url":"https://api.github.com/users/tsibelman/followers","following_url":"https://api.github.com/users/tsibelman/following{/other_user}","gists_url":"https://api.github.com/users/tsibelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tsibelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsibelman/subscriptions","organizations_url":"https://api.github.com/users/tsibelman/orgs","repos_url":"https://api.github.com/users/tsibelman/repos","events_url":"https://api.github.com/users/tsibelman/events{/privacy}","received_events_url":"https://api.github.com/users/tsibelman/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T10:03:13Z","updated_at":"2016-01-07T10:03:13Z","body":"Same could not parse version range \"~> LOCKEDVERSION \""}}