-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paket doesn't choose the latest version on paket update
.
#567
Comments
just for clarification:
should give same as
? |
No in my opinion it should give the same as
Which doesn't work at all...
|
This kind of framework-dependent nuget dependency is actually not supported at the moment. And honestly it's not really good idea. |
Like I said: I'm open to any kind of workaround (but I don't think uploading a bunch of new Version of RazorEngine is a good idea). The best solution would be to ban all 3.x RazorEngine packages which have Razor-2 in their dependencies and upload a new 2.x version with Razor2 support, but you can't actually remove nuget packages... |
Will hiding them hide them from Paket? But then I would break people who depend on net40 but have something like ">= 3.2.2" (which was the last package supporting Razor2) in their dependencies. What I mean with that: they would not pick up a newly uploaded 2.X version. This is a real mess, sorry for that. |
will try to solve this weekend... |
That would be awesome, thanks. But there is actually no real need to hurry,,, Because paket doesn't support this I have a build infrastructure where I can fall-back to nuget for such kind of paket failures. |
While I have not tested every possible edge case for this - it seems to work fine now, thanks! |
Awesome. Thanks for the feedback |
Try paket.depedendencies:
-> paket.lock
I thought this has something to do with Microsoft.AspNet.Razor but
yields
Which is still not the latest version.
There is also no way to resolve it with Microsoft.Asp.Razor-3
yields:
I have no idea what is going on here but this seem really broken,
The only thing that works is
which is not what I want.
I can see that this is not specifically a paket issue because the nuspec spec says: "Each group contains zero or more 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."
But 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.
I 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.
It would be nice if it could stay that way. Any help/idea is highly appreciated, Thanks!
The text was updated successfully, but these errors were encountered: