Plugin Not Copied to Deploy

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Not sure what I did wrong, but my PayPalExpress plugin isn't being copied to my deploy directory. I see that running prepare.bat does not hit paypalexpress but does hit all the other plugins. As a result, the express plugin works when the project is run locally, but not when deployed.

I assume I did something incorrect when installing.

What is the step by step installation process, and how can I uninstall what is now apparently installed incorrectly?

Any assistance would be appreciated.
12 years ago
Can you just transfer it over from the Presentation Folder?
12 years ago
JoeReynolds wrote:
Not sure what I did wrong, but my PayPalExpress plugin isn't being copied to my deploy directory. I see that running prepare.bat does not hit paypalexpress but does hit all the other plugins. As a result, the express plugin works when the project is run locally, but not when deployed.

I assume I did something incorrect when installing.

What is the step by step installation process, and how can I uninstall what is now apparently installed incorrectly?

Any assistance would be appreciated.


In the build directory you will need to update the target build file (build\nop.plugins.targets). You should add code that looks similar to the code below in the "Plugins-CopyPayments" target, but it should be updated to use your plugin name.



        <MSBuild Projects ="$(MSBuildProjectFullPath)"
                        Targets="Plugin-CopyToWeb"
                        Properties="
                        PluginProjectName=Nop.Plugin.Payments.AuthorizeNet"/>
12 years ago
Hi,

I've found that I have to "Included in solution" (right click on folder in VS) and then rebuild the solution for it to appear in the deployment folder.

Not sure if there is a more automatic way to do this. Would be interested to hear if there is.

Darren Pegram
12 years ago
[quote]


        <MSBuild Projects ="$(MSBuildProjectFullPath)"
                        Targets="Plugin-CopyToWeb"
                        Properties="
                        PluginProjectName=Nop.Plugin.Payments.AuthorizeNet"/>
[/quote]
Thanks Skyler. Adding Payments.PayPalExpress did the trick.
9 years ago
skyler.severns wrote:
Not sure what I did wrong, but my PayPalExpress plugin isn't being copied to my deploy directory. I see that running prepare.bat does not hit paypalexpress but does hit all the other plugins. As a result, the express plugin works when the project is run locally, but not when deployed.

I assume I did something incorrect when installing.

What is the step by step installation process, and how can I uninstall what is now apparently installed incorrectly?

Any assistance would be appreciated.

In the build directory you will need to update the target build file (build\nop.plugins.targets). You should add code that looks similar to the code below in the "Plugins-CopyPayments" target, but it should be updated to use your plugin name.



        <MSBuild Projects ="$(MSBuildProjectFullPath)"
                        Targets="Plugin-CopyToWeb"
                        Properties="
                        PluginProjectName=Nop.Plugin.Payments.AuthorizeNet"/>


Hey Jeo,
this really helped, thanks a lot.
9 years ago
bhaskar.prayati wrote:
Not sure what I did wrong, but my PayPalExpress plugin isn't being copied to my deploy directory. I see that running prepare.bat does not hit paypalexpress but does hit all the other plugins. As a result, the express plugin works when the project is run locally, but not when deployed.

I assume I did something incorrect when installing.

What is the step by step installation process, and how can I uninstall what is now apparently installed incorrectly?

Any assistance would be appreciated.

In the build directory you will need to update the target build file (build\nop.plugins.targets). You should add code that looks similar to the code below in the "Plugins-CopyPayments" target, but it should be updated to use your plugin name.



        <MSBuild Projects ="$(MSBuildProjectFullPath)"
                        Targets="Plugin-CopyToWeb"
                        Properties="
                        PluginProjectName=Nop.Plugin.Payments.AuthorizeNet"/>


Hey @skyler.severns,
this really helped, thanks a lot.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.