I created a new schedule task inside a plugin in NopCommerce 4.0.
I tried to run the task manually from the administration page. After I pressed "Run now" on my task, nopcommerce shows the green "Schedule task was run" message, but the Execute() Method is never called.
The type field for my task inside the database is "TypeName, DLL-Name" ("Plugin.Name.MyTask, Plugin.Name").
But in Nop.Services.Tasks.Task on line 46 Type.GetType(ScheduleTask.Type); is always null.
Are there any new changes for custom tasks in NopCommerce 4.0 or does anyone know why GetType can't find the task class?
Also, some kind of error message would be nice. There are error messages for exceptions, but not for null checks or similar checks. So even if the task coul'd not be found, NopCommerces shows a success message.