{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/567","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/567/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/567/events","html_url":"https://github.com/fsprojects/Paket/issues/567","id":55280504,"number":567,"title":"Paket doesn't choose the latest version on `paket update`.","user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T13:20:54Z","updated_at":"2015-01-23T13:33:20Z","closed_at":null,"body":"Try paket.depedendencies:\r\n```\r\nsource https://nuget.org/api/v2\r\n\r\nnuget RazorEngine\r\n```\r\n-> paket.lock\r\n```\r\nNUGET\r\n  remote: https://nuget.org/api/v2\r\n  specs:\r\n    Microsoft.AspNet.Razor (2.0.30506.0) - >= net40 < net45\r\n    RazorEngine (3.3.0)\r\n      Microsoft.AspNet.Razor (>= 2.0.30506.0)\r\n```\r\nI thought this has something to do with Microsoft.AspNet.Razor but\r\n```\r\nsource https://nuget.org/api/v2\r\n\r\nnuget Microsoft.AspNet.Razor >= 3.0.0\r\nnuget RazorEngine\r\n```\r\nyields\r\n```\r\nNUGET\r\n  remote: https://nuget.org/api/v2\r\n  specs:\r\n    Microsoft.AspNet.Razor (3.2.2)\r\n    RazorEngine (3.4.2)\r\n      Microsoft.AspNet.Razor (>= 3.0.0)\r\n```\r\nWhich is still not the latest version.\r\n\r\nThere is also no way to resolve it with Microsoft.Asp.Razor-3\r\n```\r\nsource https://nuget.org/api/v2\r\n\r\nnuget Microsoft.AspNet.Razor >= 3.0.0\r\nnuget RazorEngine 3.5.0\r\n```\r\nyields:\r\n```\r\n$ .paket/paket.exe update\r\nPaket version 0.24.2.0\r\nfound: c:\\Projects\\Yaaf.AdvancedBuilding\\paket.dependencies\r\nResolving packages:\r\n    - exploring RazorEngine 3.5.0\r\n    - exploring Microsoft.AspNet.Razor 2.0.30506.0\r\nPaket failed with:\r\n        Could not find compatible versions for top level dependency:\r\n     \"Microsoft.AspNet.Razor >= 3.0.0\"\r\n   Available versions:\r\n     - 2.0.30506.0\r\n   Try to relax the dependency or allow prereleases.\r\n```\r\n\r\nI have no idea what is going on here but this seem really broken,\r\n\r\nThe only thing that works is\r\n```\r\nsource https://nuget.org/api/v2\r\n\r\nnuget Microsoft.AspNet.Razor == 2.0.30506\r\nnuget RazorEngine 3.5.0\r\n```\r\nwhich is not what I want.\r\n\r\nI can see that this is not specifically a paket issue because the nuspec spec says: \"Each group contains zero or more <reference> element and a target framework attribute. All references inside a group are installed together if the target framework is compatible with the project's framework profile.\" \r\nBut as it doesn't make sense to install two versions of the same reference (Microsoft.AspNet.Razor in this case) paket could handle this case properly, like nuget does. \r\n\r\nI started maintaining the RazorEngine package and I'm not sure how I can fix this without releaseing a bunch of new versions like RazorEngine-4 and RazorEngine-5, but I tried to make RazorEngine-3 compatible with Razor3 and RazorEngine-4 with Razor-4.\r\n\r\nIt would be nice if it could stay that way. Any help/idea is highly appreciated, Thanks!"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/71193311","html_url":"https://github.com/fsprojects/Paket/issues/567#issuecomment-71193311","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/567","id":71193311,"user":{"login":"forki","id":57396,"avatar_url":"https://avatars.githubusercontent.com/u/57396?v=3","gravatar_id":"","url":"https://api.github.com/users/forki","html_url":"https://github.com/forki","followers_url":"https://api.github.com/users/forki/followers","following_url":"https://api.github.com/users/forki/following{/other_user}","gists_url":"https://api.github.com/users/forki/gists{/gist_id}","starred_url":"https://api.github.com/users/forki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forki/subscriptions","organizations_url":"https://api.github.com/users/forki/orgs","repos_url":"https://api.github.com/users/forki/repos","events_url":"https://api.github.com/users/forki/events{/privacy}","received_events_url":"https://api.github.com/users/forki/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T13:33:20Z","updated_at":"2015-01-23T13:33:20Z","body":"just for clarfication:\r\n"}}