When new plugin is created ' The main assembly isn't found. Hence this plugin can't be loaded.' getting error like

Hace 1 año
I created  'NewPayment' custom plugin  in nopcommerce 4.60.2 version , one the solution is cleaned and build i run the project in local --> admin login --> config --> Local Plugin --> all plugin list i can see but new created plugin is not loaded  showing message in orange color ''Payments.NewPayment plugin: The main assembly isn't found. Hence this plugin can't be loaded.''
Hace 1 año
I follow the same step given in nopcommerce document for ceate plugin --> and once i created plugin below step also ....

After each project build, clean the solution before making changes. Some resources will be cached and can lead to developer insanity.

You may need to rebuild your solution after adding your plugin. If you do not see DLLs for your plugin under Nop.Web\Plugins\PLUGIN_OUTPUT_DIRECTORY, you need to rebuild your solution. nopCommerce will not list your plugin in the Local Plugins page if your DLLs do not exist in the correct folder in Nop.Web.

But, in presentation -->  Nop.web --> Plugin --> dll file is not generated... can any one give solution for it
Hace 1 año
Examine the .csproj file of some other plugin to see OutputPath

Example:
<OutputPath>..\..\Presentation\Nop.Web\Plugins\DiscountRules.CustomerRoles</OutputPath>
Hace 1 año
Thanks for reply, i give the output path by checking another plugin path
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Payments.NewPayment</OutputPath>
Hace 1 año
Here is the images of error
https://prnt.sc/ojHi3i2cMEHY
Hace 1 año
Its hard to know what you are doing differently
because you have made an error that no one has ever logged before ?

Did you start with an existing Payment Plugin and modify it ?
That is the best way to make a new plugin
Hace 1 año
issue is solved , whenever we create plugin and build it will create dll file in presentation -->Nop.Web
their we need to include these file in project .
go to dll file --> Right click on it --> include in project
Hace 3 meses
how you solved this problem???
v4.60
Hace 3 meses
In the Solution Explorer, double-click your Project.  Does your OutputPath reference "\Presentation\..." ?

For example:
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Shipping.FixedByWeightByTotal</OutputPath>
Hace 3 meses
Yes The OutputPath reference is valid
But it still doesn't work