Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未能加载文件或程序集“System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a #38

Open
ghd258 opened this issue Nov 16, 2017 · 3 comments

Comments

@ghd258
Copy link

ghd258 commented Nov 16, 2017

未能加载文件或程序集“System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.IO.FileLoadException: 未能加载文件或程序集“System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)

@khellang
Copy link
Member

Translation (courtesy of Google Translate):

Failed to load file or assembly "System.Net.Http, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" or one of its dependencies. The assembly list definition found does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Explanation: An unhandled exception occurred during the execution of the current web request. Please check the stack trace information for more information on the error and the source of the error in the code.

Exception Details: System.IO.FileLoadException: Failed to load file or assembly "System.Net.Http, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" or one of its dependencies. The assembly list definition found does not match the assembly reference. (Exception from HRESULT: 0x80131040)

@khellang
Copy link
Member

I'm not sure how this is related to StructureMap.Microsoft.DependencyInjection? 🤔

@Eilon
Copy link

Eilon commented Nov 27, 2017

@khellang I'd say close as dup of dotnet/aspnetcore#2279. They opened the same bug in ~7 places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants