Can anybody please help me to figure out how it(ClearPluginAssemblies ) is working? I am using nopCommerce4.3 for a non-eCommerce solution but want to keep the basic architecture and so far so good. Except plugin output folders do not clean up. And when publish the solution it is not copying the plugin folders to the published directory.
I change the name of each solution like
and others like the same way.
with bellow resolve the unwanted *.dll at the output directory. But at publish time plugins folder not appearing.
Ultimately it is working as expected. Below are the steps I follow hope it will help others in the future.
protected const string FILES_TO_DELETE = "dotnet-bundle.exe;CampaignManagement.Web.pdb;" +
2. After the build I remove "ClearPluginAssemblies.dll" from the Build folder then copy the newly build "ClearPluginAssemblies.dll". Which is taking care to remove unwanted *.dll
3. The plugins folder was not copied to the out folder after publish because I removed
<None Include="Plugins\**" CopyToPublishDirectory="PreserveNewest" />
<Folder Include="Plugins\" />