-
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
Fleece should not include LinqBridge for a .NET 4.5 project #307
Comments
I think this one might be solvable. The assumption is: we only reference one version of LinqBridge. Then we need to do the following:
|
@forki As far as I understand it, that's reasonable. |
I upgraded us to |
sorry, but we're making only very slow progress here. But the resolver and the lock file understands this now. ==> The last part is extending the install model. |
It seems 0.15 is working for https://github.com/ctaggart/Paket09x/commits/master |
Yes, LinqBridge is gone. However, FSharp.Data.SqlClient is too. I'll create another ticket. I updated the repo. |
I'm just getting started with Paket and having this problem in version 0.25.1.0. The problematic package for me is https://www.nuget.org/packages/Cassette/ , it's choking on the Iesi.Collections dependency even though it's a .NET 4.5 project. I only ran @ctaggart have you opened another issue about this? I can't seem to find it. |
What's the concrete error?
|
The exact error is (when running
This project has a huge list of dependencies, but the problem seems to be that NHibernate 4.0.2.4000 requires Iesi.Collections (≥ 4.0 && < 5.0) and this conflicts with Cassette's requirement of Iesi.Collections (< 4.0) (which only applies to .NET 3.5 and therefore should be ignored for this particular project). Let me know if that's enough or you want a more precise repro. Cheers |
I now understand the issue. I'll try to come up with a solution. |
as a workaround add
to your dependencies file. This will force the version. |
Thanks, that workaround did the trick. I just have to be careful with |
Yes. I'm working on a better solution. Internally we already have
|
When installing
Fleece
in a.NET 4.5
project,LinqBridge
should not show up as dependency. This is related to #140. //cc @mauschThe test project to reproduce is here:
https://github.com/ctaggart/Paket09x/commits/master
https://www.nuget.org/packages/ReadOnlyCollectionExtensions/
With it added as a dependency, you get warnings like this:
because it includes implementations of
System.Action
andSystem.Func
The text was updated successfully, but these errors were encountered: