Automapper causing error: missing type map configuration or unsupported mapping

automapper-3 entity-framework-6 nuget-package

Accepted Answer

ZZZ_tmp
9
7/9/2014 5:22:41 AM

Popular Answer

Similar to your issue, I neglected to register in the Global. asax

public class WebApiApplication : System.Web.HttpApplication
{
    protected void Application_Start()
    {
        GlobalConfiguration.Configure(WebApiConfig.Register);


        AutoMapperConfig.RegisterMappings();

    }
}


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow