作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个新的 nopcommerce 3.5 网站要发布
在调试时一切都很好
但是一旦我更改为发布,我就会收到此错误
Error 1 Could not load file or assembly 'file:///C:\Users\User\Desktop\nop\packages\Autofac.3.5.2\lib\net40\Autofac.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) C:\Users\User\Desktop\nop\Libraries\Nop.Services\SGEN Nop.Services
最佳答案
好的,这就是我解决它的方法。
文件被 Windows 锁定,仅在调试中可见
我必须转到错误中显示的每个 .dll 文件,
在属性中有一个按钮 UNBLOCK 和我应用的更改错误消失了
关于asp.net-mvc - 更改为发布时无法加载文件或程序集 (nopcommerce 3.5),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30361082/
我是一名优秀的程序员,十分优秀!