-
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
Inconsistent framework exclusion in paket.dependencies #1093
Comments
I assume the bug is the code that tries to minimize the dependency
|
confirmed. it's a bug |
Thanks a lot for speedy fix! I can sleep again ;-) |
Fix is not completely ready, but should already solve your use case. Can
|
On it... |
just found another related bug. wait a minute |
I will wait for the next version, but just FYI 2.4.2 does not resolve my case. Struggling with GitHub to attach relevant repro files. |
Shared files in OneDrive folder here: http://1drv.ms/1O4Ttig |
so fixed the second bug. please try again. sorry for the ping pong |
Nope, still does not work. Resulting paket.lock.2.4.3.txt shared in the same folder. |
Critical part is this: |
I prefer ping pong to "Chess by snail mail" ;-) |
are you sure you did the "paket update" with 2.4.3? I don't get AsyncCTP in the lock file any more. |
please try "paket update -f" maybe it's cache related |
btw: you don't need to add the nuget v3 feed, Paket is automatically detecting this feed when you have the v2 enabled. |
v3 feed removed. |
yes usually an "install" is enough, but in this case you want to skip all the previous buggy logic from the cache. I'm working on further optimizations. |
please retry a paket update. grouping should be much better now. |
shit. it's still not good. |
Don't rush it - my case is admittedly hard. Very well may serve as a comprehensive test in the future :-) |
ok now it loks pretty. hope it fixes your case now. |
Oh no! It got pretty indeed, but it regressed and the problem which started it all is back: ZendeskApi_v2 (3.0.2) - framework: >= net45 |
Wait, I could be wrong... |
are you sure? it doesn't come back for me 2015-09-28 18:02 GMT+02:00 konste notifications@github.com:
|
It looks like ".paket\paket update -f" fixed it. "-f" appeared to be the flag which made the difference. |
Thank you for a great and winning push!! |
I think I have some great news for you for the next version. your case made 2015-09-28 18:10 GMT+02:00 konste notifications@github.com:
|
first results are coming in. 2.5.0-alpha002 is 4.2x faster on your dependencies file than 2.4.0 |
Faster on which operations? |
update, install |
Consider this scenario: we target NET45 and nothing else. To indicate that fact we put "framework: net45" at the top of paket.dependencies, which in my understanding supposed to work the same as adding "framework: net45" to each package. Still we get this in the paket.lock:
ZendeskApi_v2 (3.0.2)
AsyncCTP - framework: >= net40
Package ZendeskApi_v2 depends on AsyncCTP ONLY for net40 and the fact that we get it for net45 actually causes build break, because AsyncCTP cannot be used with net45.
After vigorous pounding my head against the wall I found the workaround:
nuget ZendeskApi_v2 3.0.2 framework: >= net45
with that AsyncCTP does not get wired up to the project.
But WHY framework: >= net45 works better (or even differently) than framework: net45 is a mystery which keeps me awake at night. Could somebody please shed some light onto what is going on here?
The text was updated successfully, but these errors were encountered: