Override service call even my plugin is not install

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi All,

In one of my plugin I have override the existing service.
its working fine when I have install the plugin.

But the overrides service is always call even if the plugin is not install.

Can you please help me how can I solve this?
4 years ago
What is the nop version?
4 years ago
it's 4.10
4 years ago
Before 4.20, nop loaded all plugin .dll files when project started. So that all dotnet related behavior will work for all plugins, whether plugin is installed or not.

You can avoid this problem by checking plugin is installed or not in overridden method using IPluginFinder. Otherwise you have to delete plugin folder from directory.
4 years ago
if this is happening in your local machine using the kestrel server in place of iisExpress server , so you should stop and start your solution in order to delete the concerned plugin.
Even by reloading the plugins , it's will not work for you until you restart the solution by stopping and starting the visual studio.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.