You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a legacy website (which can't be converted to a web application) that I am attempting to use Heroic.Automapper with.
The AutomapperConfig isn't being called by WebActivatorEx (I assume it would not be supported by a website) so I made a direct reference to AutoMapperConfig.Configure() from Application Start in global.asax,cs. It is being called and no exceptions are thrown by HeroicAutoMapperConfigurator.LoadMapsFromCallerAndReferencedAssemblies();
However no maps are created. Any Automapper action results in a runtime error at the point of the map.
Error:
Missing type map configuration or unsupported mapping.
Mapping types:
SourceClass-> DestinationClass
Class names redacted. The same is unit tested and works in web application so I assume this is a limitation of websites. Any workarounds for getting heroic.automapper working in a asp.net website?
The text was updated successfully, but these errors were encountered:
I have a legacy website (which can't be converted to a web application) that I am attempting to use Heroic.Automapper with.
The AutomapperConfig isn't being called by WebActivatorEx (I assume it would not be supported by a website) so I made a direct reference to AutoMapperConfig.Configure() from Application Start in global.asax,cs. It is being called and no exceptions are thrown by HeroicAutoMapperConfigurator.LoadMapsFromCallerAndReferencedAssemblies();
However no maps are created. Any Automapper action results in a runtime error at the point of the map.
Error:
Class names redacted. The same is unit tested and works in web application so I assume this is a limitation of websites. Any workarounds for getting heroic.automapper working in a asp.net website?
The text was updated successfully, but these errors were encountered: