本文转自:http://www.nopcommerce.com/boards/t/33637/4-errors.aspx

问题:

The 3.5 solution compiles fine, and Nop.Web also compile fine, however when I try to publish to a local folder I get these four errors

Error  1 Could not load file or assembly 'file:///F:\nopCommerce_3.50_SourceFresh\packages\Autofac.3.5.2\lib\net40\Autofac.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)  F:\nopCommerce_3.50_SourceFresh\Libraries\Nop.Services\      SGEN  Nop.Services

Error  2 Metadata file 'F:\nopCommerce_3.50_SourceFresh\Libraries\Nop.Services\bin\Release\Nop.Services.dll' could not be found  F:\nopCommerce_3.50_SourceFresh\Presentation\Nop.Web.Framework\     CSC     Nop.Web.Framework

Error  3 Metadata file 'F:\nopCommerce_3.50_SourceFresh\Libraries\Nop.Services\bin\Release\Nop.Services.dll' could not be found  F:\nopCommerce_3.50_SourceFresh\Presentation\Nop.Web\    CSC         Nop.Web

Error  4 Metadata file 'F:\nopCommerce_3.50_SourceFresh\Presentation\Nop.Web.Framework\bin\Release\Nop.Web.Framework.dll' could not be found  F:\nopCommerce_3.50_SourceFresh\Presentation\Nop.Web\      CSC           Nop.Web

I am using VS 2013 Ultimate on x64 Win 8.1.

These errors are from the fresh release (Dec 10) Source code I downloaded from both codeplex and nop sites. Folders using nop source code and publish folders have write permissions.

Thanks for any pointers.
Amen.

解答:

Windows 7 or Windows 8 has a security feature, sometime it block  dlls inside  the .zip file that is downloaded from internet.

Try following steps to get ride of it
1. Download the source code again or find the .zip file that you already downloaded
2. Right click then go Properties
3. In General tab click 'Unblocked'

Now unzip and try rebuild and publish, everything should be fine.

Best of luck.

最新文章

  1. Linux下PHP的完全卸载
  2. IE8控件安装方法
  3. sprint2 项目的粗略展示
  4. Java遇见HTML——JSP篇之JSP状态管理
  5. DevExpress后置代码中初始化SQL数据源的方法
  6. ExtJs布局之accordion,fit,auto
  7. hadoop 技巧
  8. python通过webservice连接cmdbuild
  9. 156 Useful Run Commands
  10. HTTPclient cookie的获取与设置
  11. properties 配置文件如何换行
  12. word文档自动生成方法
  13. SQL之Left Join 关联条件的探讨
  14. AS中的minSdkVersion、compileSdkVersion、targetSdkVersion、buildTools及tools关系和区别
  15. python魔法方法、构造函数、序列与映射、迭代器、生成器
  16. keeping.py
  17. Linter pylint is not installed
  18. Artificial Intelligence Computing Conference(2018.09.12)
  19. 使用RecyclerView打造Gallery
  20. Python2.7-robotparser

热门文章

  1. 如何创建C# Closure ?
  2. Progress.js – 为页面上的任意对象创建进度条效果
  3. VS2010在64位系统中连接64位Oracle出现的问题和解决方法
  4. sass菜鸟教程
  5. 前端js文件合并三种方式
  6. 安装 Ubuntu 后的个人常用配置
  7. C/C++ 一些常用的运算符
  8. Revit如何模型导入到InfraWorks中
  9. 你真的了解UIResponder吗?
  10. 谈谈用ASP.NET开发的大型网站有哪些架构方式(成本)