Hi.
I'm trying to develop my first nopCommerce plugin.
When I click "install" in the shop administration all I get is an error message:
Value cannot be null. Parameter name: serviceType
Any ideas on how I find the source of the problem?
namespace Nop.Plugin.Other.ClosingTest {
public class ClosingTestPlugin : BasePlugin, IMiscPlugin {
private readonly ClosingTestObjectContext _context;
public ClosingTestPlugin(ClosingTestObjectContext context) {
_context = context;
}
public override void Install() {
_context.Install();
base.Install();
}
public override void Uninstall() {
_context.Uninstall();
base.Uninstall();
}
}
}
using System.Web.Routing;
using Nop.Core.Plugins;
using Nop.Services.Common;
namespace Nop.Plugin.Misc.HelloWorld
{
public class HelloWorldPlugin : BasePlugin, IMiscPlugin
{
public void GetConfigurationRoute(out string actionName, out string controllerName, out RouteValueDictionary routeValues)
{
actionName = "Configure";
controllerName = "HelloWorld";
routeValues = new RouteValueDictionary()
{
{ "Namespaces", "Nop.Plugin.Misc.HelloWorld.Controllers" },
{ "area", null }
};
}
}
}