I am working on nopCommerce CMS. I created my own plugin and want to install it via Admin panel. I successfully created the plugin and it is showing in admin panel under Local Plugin section. When I am trying to install it, I am getting error "The method or operation is not implemented.". Can any one tell me what am I missing.
Please find the code below that I write to install :
private readonly ISettingService _settingService;
public AdminInvoicePlugin(ISettingService settingService)
{
this._settingService = settingService;
}
public void GetConfigurationRoute(out string actionName, out string controllerName, out System.Web.Routing.RouteValueDictionary routeValues)
{
actionName = "Configure";
controllerName = "InvoiceAdmin";
routeValues = new RouteValueDictionary { { "Namespaces", "Shopfast.Plugin.Invoice.Admin.Controllers" }, { "area", null } };
}
void IPlugin.Install()
{
base.Install();
}
PluginDescriptor IPlugin.PluginDescriptor
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
void IPlugin.Uninstall()
{
base.Uninstall();
}
PluginDescriptor
property. – Coney