Try paket.depedendencies:
source https://nuget.org/api/v2
nuget RazorEngine
-> paket.lock
NUGET
remote: https://nuget.org/api/v2
specs:
Microsoft.AspNet.Razor (2.0.30506.0) - >= net40 < net45
RazorEngine (3.3.0)
Microsoft.AspNet.Razor (>= 2.0.30506.0)
I thought this has something to do with Microsoft.AspNet.Razor but
source https://nuget.org/api/v2
nuget Microsoft.AspNet.Razor >= 3.0.0
nuget RazorEngine
yields
NUGET
remote: https://nuget.org/api/v2
specs:
Microsoft.AspNet.Razor (3.2.2)
RazorEngine (3.4.2)
Microsoft.AspNet.Razor (>= 3.0.0)
Which is still not the latest version.
There is also no way to resolve it with Microsoft.Asp.Razor-3
source https://nuget.org/api/v2
nuget Microsoft.AspNet.Razor >= 3.0.0
nuget RazorEngine 3.5.0
yields:
$ .paket/paket.exe update
Paket version 0.24.2.0
found: c:\Projects\Yaaf.AdvancedBuilding\paket.dependencies
Resolving packages:
- exploring RazorEngine 3.5.0
- exploring Microsoft.AspNet.Razor 2.0.30506.0
Paket failed with:
Could not find compatible versions for top level dependency:
"Microsoft.AspNet.Razor >= 3.0.0"
Available versions:
- 2.0.30506.0
Try to relax the dependency or allow prereleases.
I have no idea what is going on here but this seem really broken,
The only thing that works is
source https://nuget.org/api/v2
nuget Microsoft.AspNet.Razor == 2.0.30506
nuget RazorEngine 3.5.0
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!
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!