{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/1803","repository_url":"https://api.github.com/repos/fsprojects/Paket","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/1803/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/1803/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/1803/events","html_url":"https://github.com/fsprojects/Paket/issues/1803","id":165285005,"number":1803,"title":"Feature Request: paket.local override nuget package with csproj.","user":{"login":"gertjvr","id":1691062,"avatar_url":"https://avatars.githubusercontent.com/u/1691062?v=3","gravatar_id":"","url":"https://api.github.com/users/gertjvr","html_url":"https://github.com/gertjvr","followers_url":"https://api.github.com/users/gertjvr/followers","following_url":"https://api.github.com/users/gertjvr/following{/other_user}","gists_url":"https://api.github.com/users/gertjvr/gists{/gist_id}","starred_url":"https://api.github.com/users/gertjvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gertjvr/subscriptions","organizations_url":"https://api.github.com/users/gertjvr/orgs","repos_url":"https://api.github.com/users/gertjvr/repos","events_url":"https://api.github.com/users/gertjvr/events{/privacy}","received_events_url":"https://api.github.com/users/gertjvr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-13T10:10:25Z","updated_at":"2016-08-01T06:14:49Z","closed_at":null,"body":"### Description\r\n\r\nFeature request, what I am after is the ability to use `paket.local` file to override a `nuget package reference` with the `csproj` file that was used to produce to `nuget package`.\r\n\r\nI have two example repositories [ServiceA](https://github.com/gertjvr/ServiceA) and [ServiceB](https://github.com/gertjvr/ServiceA), `ServiceB` has a `nuget package` reference to `ServiceA.MessageContract` a sub project of `ServiceA` repository.\r\n\r\n### Repro steps\r\n\r\n1. Create a `paket.local` file with content as below\r\n\r\n```\r\nnuget ServiceA.MessageContracts -> project c:\\github\\ServiceA\\src\\ServiceA.MessageContracts\\ServiceA.MessageContracts.csproj\r\n```\r\n\r\n2. Run `.paket\\paket restore`\r\n\r\n### Expected behavior\r\n\r\nThe `nuget reference` in `ServiceB` is replaced with `csproj reference` of `ServiceA.MessageContracts`\r\n\r\n### Known workarounds\r\n\r\nThe main issue is that our nuget package version number isn't stored in the git repository so have to customise the build script to pass a `build number` to recreate a `nuget package` so that `paket.local` can successfully override them locally.\r\n\r\ncc @theimowski\r\n"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/236497638","html_url":"https://github.com/fsprojects/Paket/issues/1803#issuecomment-236497638","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/1803","id":236497638,"user":{"login":"theimowski","id":5909015,"avatar_url":"https://avatars.githubusercontent.com/u/5909015?v=3","gravatar_id":"","url":"https://api.github.com/users/theimowski","html_url":"https://github.com/theimowski","followers_url":"https://api.github.com/users/theimowski/followers","following_url":"https://api.github.com/users/theimowski/following{/other_user}","gists_url":"https://api.github.com/users/theimowski/gists{/gist_id}","starred_url":"https://api.github.com/users/theimowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theimowski/subscriptions","organizations_url":"https://api.github.com/users/theimowski/orgs","repos_url":"https://api.github.com/users/theimowski/repos","events_url":"https://api.github.com/users/theimowski/events{/privacy}","received_events_url":"https://api.github.com/users/theimowski/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T06:14:49Z","updated_at":"2016-08-01T06:14:49Z","body":"I mean pinned version in the local file"}}
{"actor":{"display_login":"theimowski"}}