I'm trying to set up a local environment to test my Plugin development on version 4.3.
I can run the website locally no problem
I can see my custom plugin in the list of plugins
However, when I try to install the plugin, and I have to restart my application, it won't install.
I have tried with the default plugins that come with nopCommerce out of the box, specifically the Fixed Rate plugin. I've looked around and can't seem to find any tutorials.
I feel like there's something I'm missing something. Any direction on how to set up a local env for Plugin Development would be much appreciated!
In the Logs table I was getting an error along the lines of
"System.FormatException: String '' was not recognized as a valid DateTime."
Comparing my plugin to some of the default plugins I realized I did not have a value on the annottion of the SchemaMigration.cs file. For example my file looked like below:
[NopMigration("", "Nop.Plugin.MyPlugn base schema")] public class SchemaMigration : AutoReversingMigration { //My code }
When it should have been:
[NopMigration("2020/07/15 08:40:55:1687541", "Nop.Plugin.MyPlugn base schema")] public class SchemaMigration : AutoReversingMigration { //My code }