C# 为什么没有应用BindingRedirect
我有一个绑定重定向,它可以在一台机器上工作,但不能在另一台机器上工作 我使用fuslogvw查看此日志,它是这样说的:C# 为什么没有应用BindingRedirect,c#,.net,C#,.net,我有一个绑定重定向,它可以在一台机器上工作,但不能在另一台机器上工作 我使用fuslogvw查看此日志,它是这样说的: LOG: Attempting download of new URL file:///C:/Dev/PropertySearch/PropertySearch/PropertySearch.Tests/bin/x86/Debug/Oracle.ManagedDataAccess.DLL. LOG: Assembly download was successful. Attem
LOG: Attempting download of new URL file:///C:/Dev/PropertySearch/PropertySearch/PropertySearch.Tests/bin/x86/Debug/Oracle.ManagedDataAccess.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Dev\PropertySearch\PropertySearch\PropertySearch.Tests\bin\x86\Debug\Oracle.ManagedDataAccess.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Oracle.ManagedDataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
这就是绑定重定向的外观:
<dependentAssembly>
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.121.1.0" newVersion="4.121.1.0" />
有人知道发生了什么事吗
Greg如果它在一台机器上工作,而不是在另一台机器上工作,唯一的原因是新组件没有安装在故障计算机的GAC中
"Could not load file or assembly 'Oracle.ManagedDataAccess, Version=4.112.3.60, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Oracle.ManagedDataAccess, Version=4.112.3.60, Culture=neutral, PublicKeyToken=89b483f429c47342"}