Hi Pete,
I'm getting the following exception when retrieving the campaign manager:
{"Resolution of the dependency failed, type = \"Genesyslab.Desktop.Modules.Outbound.Model.Campaign.ICampaignManager\", name = \"\". Exception message is: The current build operation (build key Build Key[Genesyslab.Desktop.Modules.Outbound.Model.Campaign.ICampaignManager, null]) failed: The current type, Genesyslab.Desktop.Modules.Outbound.Model.Campaign.ICampaignManager, is an interface and cannot be constructed. Are you missing a type mapping? (Strategy type BuildPlanStrategy, index 3)"}
Sample code:
public class ExtensionModule : IModule
{
...
public ExtensionModule(IObjectContainer container, IViewManager viewManager, ICommandManager commandManager)
{
this._container = container;
this._viewManager = viewManager;
this._commandManager = commandManager;
ICampaignManager campaignManager = _container.Resolve<ICampaignManager>(); << Exception
}
}
Appricate if you could provide some insight.
Thanks,
Keng