Publishing nopCommerce 4.2 via Visual Studio 2019

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
It should be the same in 4.10.

For me I put it just before the the following lines

<!-- This target execute after "Build" target.
    We use it to clean up folder with plugins from unnecessary and obsolete libraries. -->
  <Target Name="NopTarget" AfterTargets="Build">
4 years ago
I've tried the fix linked to in this thread to no avail. I've moved the suggested code block around to different locations, nothing works. I'm still dead in the water. My troubles started when I tried to install a new 3rd party plugin. I had already successfully installed 2 other 3rd party plugins with ease. Don't know why things all of a sudden have gone south on me. Very frustrating.
4 years ago
I have this same problem using the 4.2 version.  I am trying to run the project for the first time in Visual Studio 2019. I can't get past this error message "A plugin with 'CurrencyExchange.ECB' system name is already defined".  
The problem seems to be related to a Plugins folder in the Payments.Qualpay and Payments.Square folder.  
Review:
- ApplicationPartManagerExtensions.GetDescriptionFilesAndDescriptors
- Line 256: var files = _fileProvider.GetFiles(directoryName, NopPluginDefaults.DescriptionFileName, false);
- topDirectoryOnly set to "false" here is loading all plugin.json files in the root directory and sub directories causing the duplicate error message.
Image: https://drive.google.com/open?id=10sFh5v8ouCkQTWiOG6K0TaDLCgpM10xE
4 years ago
Did you make this change https://github.com/nopSolutions/nopCommerce/commit/7b9f8f0fb6178c40b92167ebdaa049a21a47b1ee
Then delete all the plugins in the src42\Presentation\Nop.Web\Plugins\
Clean the solution and rebuild
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.