WPFTabTip icon indicating copy to clipboard operation
WPFTabTip copied to clipboard

Remove dependency on reactive extensions

Open wldevries opened this issue 8 years ago • 7 comments

For us it is rather problematic that this package depends on reactive extensions 3.0. We use ReactiveUI which depends on the older package/version. To be able to use WPFTabTip we need to include its source in our project which is rather unfortunate.

wldevries avatar Jan 16 '17 13:01 wldevries

I am not entirely sure what are you proposing. You want to remove reference to reactive extensions and rewrite code that relies on Rx?

maximcus avatar Jan 16 '17 13:01 maximcus

Yes, I'm currently investigating how easily this can be done.

wldevries avatar Jan 16 '17 13:01 wldevries

You can rewrite code that relies on Rx with threads and locks, but I would seriously consider this only if your issue will gain some traction (If many people will have the same problem). Otherwise I would prefer to stick with Rx, even if that is a deal breaker for you, sorry.

maximcus avatar Jan 16 '17 13:01 maximcus

I'm affected by the same issue.

What happened is this:

Microsoft published the reactive extensions library under the package id Rx-Main (and dependencies). A lot of other packages depend on these packages. One example is ReactiveUI.

Recently Microsoft decided to rename the package to System.Reactive (and dependencies). The DLL files included in this package are the same as in the Rx-Main package. But a slightly newer version.

This broke the upgrade path. I cannot update the Rx-Main package so it works with WpfTabTip and I cannot install the System.Reactive package because it conflicts with the Rx-Main packages. (The DLL files in the package still have the same name, so I get duplicate references and files get overwritten during build).

What I did for now was to include the entire WpfTabTip source code in my application and change it to reference the Rx-Main package instead of the System.Reactive package. Works perfectly. 😄

roy-t avatar Aug 21 '17 09:08 roy-t

I've logged an issue with System.Reactive, unfortunately they can't fix it on their end: https://github.com/Reactive-Extensions/Rx.NET/issues/416

roy-t avatar Aug 23 '17 15:08 roy-t

@roy-t, what about ReactiveUI developers, is there any hope that they will move to a newer version of Rx anytime soon? Or do you have problems not connected to ReactiveUI?

maximcus avatar Aug 23 '17 15:08 maximcus

I believe a new version of ReactiveUI is in the works. But I don't think there is a release date has been set. I do know they plan on using the new nuget package for System.Reactive. So I guess this problem will solve itself in the end.

roy-t avatar Aug 23 '17 19:08 roy-t