Installing 2.60 latest changeset -nopcommerce_bf4461a7fd76

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
I have downloaded the latest changeset nopcommerce_bf4461a7fd76, when I run prepare.bat and deploy.bat, I get the error as below any help would be appriciated.

Thanks

Steve


Build FAILED.

       "Z:\etched4u\Web Site\VERSION 2.60\nopcommerce-2.60-bf4461a7fd76\nopcomm
       erce_bf4461a7fd76\src\build\nop.proj" (default target) (1) ->
       "Z:\etched4u\Web Site\VERSION 2.60\nopcommerce-2.60-bf4461a7fd76\nopcomm
       erce_bf4461a7fd76\src\NopCommerce.sln" (default target) (2) ->
       "Z:\etched4u\Web Site\VERSION 2.60\nopcommerce-2.60-bf4461a7fd76\nopcomm
       erce_bf4461a7fd76\src\Libraries\Nop.Services\Nop.Services.csproj" (defau
       lt target) (5) ->
       (GenerateSerializationAssemblies target) ->
         SGEN : error : Could not load file or assembly 'file:///Z:\etched4u\We
       b Site\VERSION 2.60\nopcommerce-2.60-bf4461a7fd76\nopcommerce_bf4461a7fd
       76\src\packages\Autofac.2.6.3.862\lib\NET40\Autofac.Configuration.dll' o
       r one of its dependencies. Operation is not supported. (Exception from H
       RESULT: 0x80131515) [Z:\etched4u\Web Site\VERSION 2.60\nopcommerce-2.60-
       bf4461a7fd76\nopcommerce_bf4461a7fd76\src\Libraries\Nop.Services\Nop.Ser
       vices.csproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:02.83
Press any key to continue . . .
11 years ago
MrShrek wrote:
...
Could not load file or assembly 'file:///Z:\etched4u\We
       b Site\VERSION 2.60\nopcommerce-2.60-bf4461a7fd76\nopcommerce_bf4461a7fd
       76\src\packages\Autofac.2.6.3.862\lib\NET40\Autofac.Configuration.dll' o
       r one of its dependencies. Operation is not supported....

Just tested. Everything works fine. Does anybody else experience this issue?

BTW, can you compile the solution in Visual Studio? And ensure that you have this file - Z:\etched4u\Web Site\VERSION 2.60\nopcommerce-2.60-bf4461a7fd76\nopcommerce_bf4461a7fd76\src\packages\Autofac.2.6.3.862\lib\NET40\Autofac.Configuration.dll
11 years ago
Yes Andrei I have the file Autofac.Configuration.dll along with Autofac.xml & Autofac.dll.

Build Succeeded when I try and build in VB 2010

thanks

Steve
11 years ago
Just to let you know I have downloaded release version 2.60 with sourcecode, tried install.bat and deploy.bat with no problem.

Steve
11 years ago
I have the same issue when I run Prepare.bat and/or Deploy.bat. Fresh install, rebuild in VS 2010 works.

I've verified that the file exists in the location defined in the bat file error message.

Any help?

EDIT: I cannot now build in VS 2010. I get the following error:

Could not load file or assembly 'file:///H:\Development\nopCommerce_2.60_Source\packages\Autofac.2.6.3.862\lib\NET40\Autofac.Configuration.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)  

H:\Development\nopCommerce_2.60_Source\Libraries\Nop.Services\SGEN  

Nop.Services
11 years ago
I downloaded the latest changeset and it seems to work fine

steve
11 years ago
On my development machine, it works when compiling in debug mode, but I get the same error when compiling it in release mode.
11 years ago
Found it (Win7):

If you have this issue then open windows explorer, right click the corresponding file, click porperties and then the unblock button.
11 years ago
microteq wrote:
If you have this issue then open windows explorer, right click the corresponding file, click porperties and then the unblock button.


If you do this on the .zip file, you won't have to do it on the individual files after they are unzipped.
6 years ago
microteq wrote:
Found it (Win7):

If you have this issue then open windows explorer, right click the corresponding file, click porperties and then the unblock button.



Thanks this totally works for me. figured all dll files were blocked in packages. to unblock all files at once use powershell command

dir "{path to your folder}" -Recurse | Unblock-File
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.