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

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 5 ans
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?
Il y a 5 ans
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
Il y a 5 ans
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?
Il y a 5 ans
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?
Il y a 5 ans
Problem is solved.

by Delete bin folder in nop.web.

thanks for your help.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.