Open Closed

AutoMapper -> Mapperly Port. ABP Suite no longer functions. #10537


User avatar
0
okains created

Hi,

I followed the instructions that you provided and moved from AutoMapper to Mapperly. I used the AI prompt that you provided to generate the initial Mappers files for Mapperly. I immediately had the same issues everyone else seems to have had with ABP Suite generating bad Mapperly map code and appending it to the end of the Mappers files. When this happens, the build fails and ABP Suite does not generate Migrations. This is just a show stopper for me now, and I need to get it fixed.

I have read through all other tickets, and I did rename all of the existing Mapperly classes and added a trailing 's' as suggested. But I have found that sometimes new Map classes have the plural s, and sometimes they don't. In all cases ABP Suite fails. I have copied some of the newly generated Maps to show the state of things.

I have a hack in place, where I have removed the BlazorMappers.cs and ApplicationMappers.cs files from the build, so that I can use ABP Suite. But I have to then manually add mapping classes for any new entities into a separate MapperlyMap file, and this is not a long term solution, I need ABP Suite to work as it should.

Please provide a step by step solution to this problem.

Thanks,

Karim


No answer yet!
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.3.0-preview. Updated on March 13, 2026, 12:51
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.