Reputation: 1910
My App.exe is compiled for .NET 4.5 and referencing SomeLib.dll which is a .NET 4.0 assembly which is referencing Reactive Extensions assembly (compiled for .NET 4.0).
My App.exe is also directly referencing Reactive Extensions assembly (compiled for .NET 4.5). The Reactive Extensions assembly in the bin folder is .NET 4.5.
When trying to run the program, I got exception: Could not load file or assembly "System.Reactive.PlatformServices, Version 2.0.283.0 .... The located assembly's manifest definition does not match the assembly reference".
Is it possible to force the SomeLib.dll assembly to use RX for .NET 4.5 without recompiling it for .NET 4.5?
Upvotes: 1
Views: 660