I have downloaded nopCommerce project and trying to build whole solution in Release mode.
It is giving below error:
Severity Code Description Project File Line Error Could not load file or assembly 'file:///G:\Users\Workspaces\iShop\NopCommerce\Libraries\Nop.Services\bin\Release\PerlRegex.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) Nop.Services G:\Users\Workspaces\iShop\NopCommerce\Libraries\Nop.Services\SGEN
But when I try to build it in debug mode, it is not throwing any error.
I can tell you a tips ..... use nopcommerce default project (no source) ........and copy and replace only your required dll (getting from debug mode) ...Where you change source file. .Such as ..you Nop.Web source file then only replace Nop.Web.dll
The problem is that the files that you've downloaded are blocked. It is a Windows feature that blocks certain files.
Download again the nopCommerce and before you unzip it, right click it and select properties. After that click Unblock and you are ready to go. Unzip the package and run in Visual Studio.
I had the same problem with NopCOmmerce 3.70 and the "unblock" solution works! Unblock the zipped file by right click -> properties -> unblock and then building the solution in release mode will work.