Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
So in v7 you could do:
/// The usergroup mapping.
internal class UsergroupMapping : MapperConfiguration
/// Configures the user group mappings
/// <param name="config">
/// The config.
/// <param name="applicationContext">
/// The application context.
public override void ConfigureMappings(IConfiguration config, ApplicationContext applicationContext)
what do u have todo in v8 to add mappings?Current i get error on :
It cannot inherit from it because it cannot find it. Has it moved? Do you namespaces need updating?
so looks like https://our.umbraco.com/forum/extending-umbraco-and-using-the-api/96297-umbraco-8-custom-core-mappers
Umbraco V8 no longer ships with AutoMapper out of the box, if you want to add that you still can but you need to add it yourself
Alternatively you can use our mapper instead if you prefer
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted