无法加载文件或程序集Microsoft.Web.Infrastructure.dll [英] Could not load file or assembly Microsoft.Web.Infrastructure.dll

查看:101
本文介绍了无法加载文件或程序集Microsoft.Web.Infrastructure.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个asp .net应用程序。当它部署在服务器中时,会出现以下错误。



Hi,

I have a asp .net application. When it deployed in the server, getting the following error.

Could not load file or assembly 'Microsoft.Web.Infrastructure' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045) 

推荐答案

您必须在项目中包含dll并添加对它的引用。< br $> b $ b

查看以下文章了解更多信息。



Bin部署MVC所需的依赖关系



我希望这会对你有所帮助。
You have to include the dll with your project and add a reference to it as well.

Check below article for more information.

Bin deploy required dependencies for MVC

I hope this will help to you.


这篇关于无法加载文件或程序集Microsoft.Web.Infrastructure.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆