Plugin Changes without Restarting Application

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

I am currently changing some cshtml of a plugin. To see my changes I have to restart the application every time. Is there a faster way to do it - since restarting the nop app takes a bit of time? Some kind of debug mode?

Kind regards, Stephan
3 years ago
You can setup a development enviroment and use Visual Studio to run the program
In simple terms changes to code are made when you rebuild the program or
changes to .cshtml in the Nop.Web can be edited live and page updated on refresh
and css can be edited live and page updated on page reload
3 years ago
RE: "changes to .cshtml in the Nop.Web can be edited live"
Yes, but he said "plugin".  The workaround for that is to edit the plugin's .cshtml file in the \Presentation\Nop.Web\Plugins\yourplugin\VIews folder, and then remember to copy/paste overwrite your project's .cshtml file when done.
3 years ago
Hi,

The solution described here (https://www.nopcommerce.com/en/boards/topic/79407/cshtml-being-cached-need-to-restart-webconfig-for-every-change#281294) works fine also for Plugin cshtml files.

Kind regards, Stephan
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.