Skip to content

accessviolationexception in SmartStore.Licensing AutoMapping error #681

Description

@ansydor

в System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
в System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType, Object target)
в System.Linq.Expressions.Compiler.LambdaCompiler.CreateDelegate()
в System.Linq.Expressions.Compiler.LambdaCompiler.Compile(LambdaExpression lambda, DebugInfoGenerator debugInfoGenerator)
в System.Linq.Expressions.Expression1.Compile() в AutoMapper.DelegateFactory.CreateGet(PropertyInfo property) в AutoMapper.Impl.PropertyGetter..ctor(PropertyInfo propertyInfo) в AutoMapper.Impl.PropertyAccessor..ctor(PropertyInfo propertyInfo) в AutoMapper.Impl.ReflectionHelper.ToMemberAccessor(MemberInfo accessorCandidate) в AutoMapper.MappingExpression2.ForMember(Expression1 destinationMember, Action1 memberOptions)
в SmartStore.Admin.Infrastructure.AutoMapperStartupTask.Execute() в d:\Development\STORE\SmartStore.NET 2.2.0\SmartStoreNET-2.2.0\SmartStoreNET-2.2.0\src\Presentation\SmartStore.Web\Administration\Infrastructure\AutoMapperStartupTask.cs

in fires on Mapper.CreateMap<PluginDescriptor, PluginModel>() in AutoMapperStartupTask.cs

to reproduce it unit-testing for SmartStore.Web.MVC.Tests is enough

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions