【发布时间】:2016-11-15 21:51:34
【问题描述】:
我有一个使用 Reactiveui (v 7.0) 和简单注入器的项目。 Reactiveui 使用 System.Reactive.Linq v2.2.5.0。在我的项目(使用 .net 4.5.1)中,我引用了 System.Reacive v3.0.0。我在 App.config 中添加了以下内容来处理重定向:
<dependentAssembly>
<assemblyIdentity name="System.Reactive.Linq" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
但是当我运行它时,我得到以下错误:
无法加载文件或程序集“System.Reactive.Linq, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或其依赖项之一。找到的程序集的清单定义与程序集引用不匹配。
我也尝试过 System.Reactive v3.1,但它给出了同样的错误。我该如何解决这个问题?
【问题讨论】:
标签: c# manifest system.reactive