绑定失败-不在bin目录中

问题描述

我有一个拒绝找到system.net.http的网站。它使用的版本/签名包含在bin目录中。我进行融合以捕获结合,并在下面列出-有人知道为什么在GAC中找不到它后会放弃吗?它不应该转到c:/Mywebsite.TEST/Home/bin中的/ bin目录吗?

*** Assembly Binder Log Entry  (8/18/2020 @ 4:14:31 PM) ***

The operation Failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: displayName = System.Net.Http,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/Mywebsite.TEST/Home/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = ed827e2
Calling assembly : (UnkNown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Mywebsite.TEST\Home\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: GAC Lookup was unsuccessful.
ERR: No codebases found to download from.
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002).

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)