By following steps below, you can redeploy and test plugin changes in development mode:
- Go to UI of the Nop commerce > Uninstall the plugin, make you it doesn’t exists in local plugin list.
- Make change to Plugin source code.
Actually, there are 2 folder containing plugin that might cofuse those who are new to Nop.
a. ..\Plugins\{PluginSolution}
b. ..\Presentation\Nop.Web\Plugins\{PluginName}
The first should be where the plugin source code located.
The second is the location where the plugin is released and stored.
So, at this step what you want to do is to make change to ..\Plugins\{PluginSolution} - Delete released plugin folder at ..\Presentation\Nop.Web\Plugins\{PluginName}
Please remember that only folder to be replaced should be deleted. - Rebuild the plugin ..\Plugins\{PluginSolution} by right clicking on this solution and select “Rebuild”. A respectively created ..\Presentation\Nop.Web\Plugins\{PluginName} should be in place.
- Publish the Nop.Web solution. Then Look for the plugin name in “Native Plugin” and enable it from Web UI.