- 4
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
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