ClearPluginAssemblies.proj delete all dll files in debug mode nop V4.0

1 year ago
Hi

Sometimes on some of our project when build plugins on Debug Mode after build all dll files (even plugins dll will be deleted) and we have to build with release mode .






anybody knows , how ClearPluginAssemblies.proj check it is plugin dll and ignore to delete it?
1 year ago
Hello. ClearPluginAssemblies doesn’t work quite like this, it doesn’t determine that this library belongs to the plugin, it deletes those libraries that are linked to the main project (Nop.Web), that is, if you connect an third party library to the plugin (not from NuGet), it won't be deleted. For fix problem with NuGet packahes see this tiket
1 year ago
Hi thanks for reply

Ok,now understand process of ClearPluginAssemblies ,but as you can see all dll is deleted even output of plugin project (Nop.Plugin.ExternalAuth.Facebook.dll)

for example here we build facebook plugin

debug mode:
https://imgur.com/d3V6YBi

release mode:
https://imgur.com/BGLlHwT


And why does happen just in debug mode?
1 year ago
Hello. I seem to understand the essence of your question, maybe this ticket will help you.

instanttrader wrote:
Hi thanks for reply

Ok,now understand process of ClearPluginAssemblies ,but as you can see all dll is deleted even output of plugin project (Nop.Plugin.ExternalAuth.Facebook.dll)

for example here we build facebook plugin

debug mode:
https://imgur.com/d3V6YBi

release mode:
https://imgur.com/BGLlHwT


And why does happen just in debug mode?
1 year ago
Problem is solved.

by Delete bin folder in nop.web.

thanks for your help.