Effective plugin development (abount build time)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
I am developing a plugin and rebuild almost whole solution after every code changes. (Stop debugging. Clean and rebuild plugin and web project. Debug project again.) It takes time and increase development time. How can I follow path for more effective plugin development in Nop?
5 years ago
You do not need to build the whole solution every time. Rather you need to build the specific plugin which one you are developing. Build the plugin must needed when you change the .cs file but for .cshmtl, .css and .js you can directly change it from the output(Presentation==>Nop.Web==>Plugins) folder it will decrease the development time. But remember at the end you need to take the changes to the main plugin related files otherwise you will lose the changes when build the plugin as at every builds the nopcommerce engine replace the output folder contents with the latest change of the specific plugin project.
5 years ago
sina.islam wrote:
You do not need to build the whole solution every time. Rather you need to build the specific plugin which one you are developing. Build the plugin must needed when you change the .cs file but for .cshmtl, .css and .js you can directly change it from the output(Presentation==>Nop.Web==>Plugins) folder it will decrease the development time. But remember at the end you need to take the changes to the main plugin related files otherwise you will lose the changes when build the plugin as at every builds the nopcommerce engine replace the output folder contents with the latest change of the specific plugin project.

Yes you are right but another problem about I need to restart debug session of Web project otherwise plugin changes does not reloaded in Web project. Can I do changes in plugin and see changes running web project without restart? (Currently I need to restart project every time.)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.