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

Posted: January 13, 2019 at 7:28 AM Quote #217955
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?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 14, 2019 at 3:57 AM Quote #217973
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
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Interested in the dedicated Premium support services provided by core developers? Please visit http://www.nopcommerce.com/supportservices.aspx

Regards,
Sergey Koshelev
Posted: January 14, 2019 at 4:35 AM Quote #217974
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?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 16, 2019 at 12:43 AM Quote #218039
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?
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Interested in the dedicated Premium support services provided by core developers? Please visit http://www.nopcommerce.com/supportservices.aspx

Regards,
Sergey Koshelev
Posted: January 16, 2019 at 1:57 AM Quote #218040
Problem is solved.

by Delete bin folder in nop.web.

thanks for your help.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2019
Learn more