Method not found: 'Void AutoMapper.IMappingExpression
See original GitHub issueAfter last update i get this error:
- Abp package version:4.0.2
- Base framework: .Net Framework.
Stack:
[MissingMethodException: Method not found: 'Void AutoMapper.IMappingExpression`2.ConvertUsing(System.Func`2<!0,!1>)'.]
Abp.AutoMapper.AbpAutoMapperModule.CreateCoreMappings(IMapperConfigurationExpression configuration) +0
Abp.AutoMapper.AbpAutoMapperModule.<CreateMappings>b__6_0(IMapperConfigurationExpression configuration) +138
AutoMapper.MapperConfiguration.Build(Action`1 configure) +38
AutoMapper.Mapper.Initialize(Action`1 config) +26
Abp.AutoMapper.AbpAutoMapperModule.CreateMappings() +164
Abp.AutoMapper.AbpAutoMapperModule.PostInitialize() +5
Abp.Modules.<>c.<StartModules>b__15_2(AbpModuleInfo module) +13
System.Collections.Generic.List`1.ForEach(Action`1 action) +85
Abp.Modules.AbpModuleManager.StartModules() +281
Abp.AbpBootstrapper.Initialize() +267
Abp.Web.AbpWebApplication`1.Application_Start(Object sender, EventArgs e) +53
GDPRun.Web.MvcApplication.Application_Start(Object sender, EventArgs e) in D:\WorkSpaces\App.Web\Global.asax.cs:16
[HttpException (0x80004005): Method not found: 'Void AutoMapper.IMappingExpression`2.ConvertUsing(System.Func`2<!0,!1>)'.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +475
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +220
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +303
[HttpException (0x80004005): Method not found: 'Void AutoMapper.IMappingExpression`2.ConvertUsing(System.Func`2<!0,!1>)'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +657
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +89
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +188
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Automapper Aftermap "method not found" exception
My AutoMapper mapping configuration looks as following: CreateMap<FooDTO, Foo>() .AfterMap((src, dest, ctx) => ctx.Mapper.Map(src.SomeFieldY ...
Read more >AutoMapper Error on V 5.3.2 #3419 - ABP Commercial
MissingMethodException : Method not found: 'Void AutoMapper.IMemberConfigurationExpression`3.MapFrom(System.Linq.Expressions.
Read more >Demo Android App not working #6041 - Support - ASP.NET Zero
Demo Android App not working #6041 ... MissingMethodException: Method not found: void AutoMapper.IMappingExpression 2.ConvertUsing(System.
Read more >8.0 Upgrade Guide
To migrate, replace all usages of ProjectUsing with ConvertUsing . The ConvertUsing expression-based method will be used for both in-memory mapping and LINQ ......
Read more >AutoMapper Documentation
A convention-based object-object mapper. AutoMapper uses a fluent configuration API to define an object-object mapping strategy.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@totpero AutoMapper 8.0 has broken changes. Downgrading to 7.0.1 will solve.
Fixed via https://github.com/aspnetboilerplate/aspnetboilerplate/pull/4034