In my experience (and I have developed quite a few plugins) the reason for these mischievous errors is usually one of two things:
1. As others have mentioned, you need to clear out your .Net Cache folder.
You CAN do this when debugging with Localhost, its just a little bit longer process.
To clear out your Temporary ASP.NET Files:a. Stop IIS and/or Casini (the built in webserver) ... you have to stop the web server, not just the visual studio project
b. Navigate to the folder: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
c. Delete ALL files
d. Restart your application
In addition, I have also had to do this on the webserver, in some rare instances. If you web host doesn't allow this, then you may need to have them recycle IIS or restart your site. Some hosts offer this through their control panel, others require a separate technical support ticket.
2. If the above doesn't work, I have found (in some instances) that either all my files were not actually included in the assembly.
a. To check this, right click on the file you want, click properties.
b. Make sure the Build Action is set to "Embedded Resource"
c. Also, verify the path you specified as sometimes the MVC controller path does not match that of your assembly directly.
You should be able to set that math in your RouteProvider.cs file (inside the actual plugin project)
Hopefully this will give you a little more information and help guide you down the path to a solution. I have evaluated many other open-source Ecommerce products and I have to say that NOP is one of THE BEST. Don't get discouraged, I have felt the same way in the past, but I have found that you will eventually find a solution.
Finally, if you need additional help, my company, ATLANTA SBT, does offer Nop Development as a fee based service. I am not trying to promote my company, but if you have the need, feel free to contact me at
[email protected].