AndyMcKenna wrote:The plugins are only shadow copied during the initial app startup. If you are only replacing them you would need to click on Restart Application or do something that will trigger a recycle (modify anything in the root bin, change web.config/global.asax). That's probably why it seems to work when you do a full rebuild but not just rebuilding your plugin.
I'm not sure but I think you can just "touch" (update the modified date on the file) the web.config and it will trigger a rebuild.
Check out the 2nd answer here:
http://stackoverflow.com/questions/51435/windows-version-of-the-unix-touch-command You could probably do that in your Build Events
To Andy's suggestion to touch a file to trigger an automatic app restart...
Add this to the plugin project properties in Visual Studio - Post-build event:
powershell (Get-Item '$(SolutionDir)Presentation\Nop.Web\bin\Nop.Web.dll').LastWriteTime = Get-Date
You have to have powershell installed. Basically it just updates the Nop.Web.dll timestamp so that when you refresh your browser, Nop restarts automatically and sucks in your plugin changes.