-
We have an application targeting 4.8, which uses ReactiveUI.WPF 18.4.1 net48 referencing ReactiveUI 18.4.1 net472, in turn referencing System.Reactive 5.0.0. The dll comes from the nuget net472 lib. This works well. However, some of our clients are using a third party program which puts System.Reactive targeting netstandard2.0 in their GAC.
Here is a light reproduction solution (you have to add the included System.Reactive to your GAC). We know this isn't a bug in reactiveUI, which is why we aren't opening an issue, but we've searched far and wide and we're really stumped with this issue, so any help is very welcome even if it's just telling us to ask somewhere else (where else?). What should we do here? Right now we've upgraded to a newer version of ReactiveUI referencing System.Reactive 6.0.0, but what can we do if someone adds it to the GAC again? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello I just want to chime in to say that there might be more users impacted by this problem (without them knowing). A program I was using had this exact issue. Removing the "System.Reactive.dll" from the GAC solved it. |
Beta Was this translation helpful? Give feedback.
-
few options you can try
references:
|
Beta Was this translation helpful? Give feedback.
-
I'd rather not play with strong naming to fix this, so 1 and 4 are out. 3 is also very invasive. I'm not sure how to do 2, but it would be nice if it worked. I'll try 2 when I have time and report back, but I'm not convinced this can work because of this: dotnet/runtime#84618 Actually removing the auto-generated bindingredirect seems to work better, whenever there is a bindingredirect the gac will be considered from what I saw. |
Beta Was this translation helpful? Give feedback.
few options you can try
references: