加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

.net – “无法加载文件或程序集……”DotNetOpenAuth MVC3

发布时间:2020-12-16 07:18:14 所属栏目:asp.Net 来源:网络整理
导读:我收到以下错误 Could not load file or assembly 'file:///C:Usersproject pathbinDotNetOpenAuth.dll' or one of it's dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) 当我尝试将Controller添加到MVC3框架内的Contr
我收到以下错误

Could not load file or assembly 'file:///C:Users&;project path>binDotNetOpenAuth.dll'
    or one of it's dependencies. Operation is not supported. 
    (Exception from HRESULT: 0x80131515)

当我尝试将Controller添加到MVC3框架内的Controllers文件夹时,我得到了这个.

我最近才开始使用MVC3和DotNetOpenAuth,我一直在使用教程来尝试学习它,我复制的部分是:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/adding-a-model

我仍然可以运行该项目,一切正常,我根本无法添加控制器.

我在Windows 7上使用VS .NET 2010(64位).

如果有任何其他需要的信息,请告诉我,提前谢谢!

解决方法

它可能与此有关: http://blogs.msdn.com/b/brada/archive/2009/12/11/visual-studio-project-sample-loading-error-assembly-could-not-be-loaded-and-will-be-ignored-could-not-load-file-or-assembly-or-one-of-its-dependencies-operation-is-not-supported-exception-from-hresult-0x80131515.aspx

这表示您需要在Windows资源管理器中取消阻止程序集.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读