Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 为什么没有应用BindingRedirect_C#_.net - Fatal编程技术网

C# 为什么没有应用BindingRedirect

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

我有一个绑定重定向,它可以在一台机器上工作,但不能在另一台机器上工作

我使用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. 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"}