Close

Profile: varghesep

Avatar

User posts

7 years ago

That is reasonable.

I'm going to revert my branch from develop to master, so the Pavillion theme can work.

7 years ago

I fixed this problem by adding the following to the web.config:

      <dependentAssembly>
        <assemblyIdentity name="AutoMapper" publicKeyToken="be96cd2c38ef1005" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
      </dependentAssembly>


I have found out that the Pavilion template does not work with the nopCommerce 3.9 version.

7 years ago

I followed the instructions on this page to install the plugin sources to Presentation\Nop.Web\Plugins

I had to modify the nopCommerce version from 3.9 to 3.8 because I use the latest version of the code from the develop branch.

I'm getting an error with the AutoMapper as described below. Is there a way to change the version of the AutoMapper is being used.

[FileLoadException: Could not load file or assembly 'AutoMapper, Version=5.0.2.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   SevenSpikes.Nop.Conditions.DependancyRegistrar.CreateModelMappings() +0
   SevenSpikes.Nop.Framework.DependancyRegistrar.BaseDependancyRegistrar7Spikes.xcEfEcrZg0EEZx92WUs(Object ) +13
   SevenSpikes.Nop.Framework.DependancyRegistrar.BaseDependancyRegistrar7Spikes.Register(ContainerBuilder builder, ITypeFinder typeFinder, NopConfig config) +37
   Nop.Core.Infrastructure.NopEngine.RegisterDependencies(NopConfig config) in C:\LabProjects\testwebsite\src\Libraries\Nop.Core\Infrastructure\NopEngine.cs:65
   Nop.Core.Infrastructure.NopEngine.Initialize(NopConfig config) in C:\LabProjects\testwebsite\src\Libraries\Nop.Core\Infrastructure\NopEngine.cs:109
   Nop.Core.Infrastructure.EngineContext.Initialize(Boolean forceRecreate) in C:\LabProjects\testwebsite\src\Libraries\Nop.Core\Infrastructure\EngineContext.cs:26
   Nop.Web.MvcApplication.Application_Start() in C:\LabProjects\testwebsite\src\Presentation\Nop.Web\Global.asax.cs:54                                                          

7 years ago

I'm using the develop branch of nopCommerce. This is the latest source, and not just the 3.8 version.

I copied all the plugins and theme to the src\Presentation\Nop.Web\Plugins folder. The problem that I have is that I don't see the plugins in the Admin site. I restarted the IIS as well as RELOAD LIST OF PLUGINS, but no luck.

Is this due to the mismatch between the version of the theme and the version of the NOP it supports. Surely, I'm using the latest NOP sources from the develop branch.