Developer forum

Forum » Development » Stop Dynamicweb from copying assemblies

Stop Dynamicweb from copying assemblies


Reply
Hi there,

I like the way Dynamicweb automatically updates the Bin folder if the assemblies from /Admin are newer. But is there a way to skip this on a custom solution? I try to use Reflector to decompile the code so I can debug some problem in Dynamicweb, but everytime I try to run the solution Dynamicweb overwrites my decompiled assemblies again.....

Imar

Replies

 
Reply
 I don't know about this functionality (Dynamicweb automatically updates the Bin folder if the assemblies from /Admin are newer). I think the problem is in references in your custom project. For example, your Dynamicweb, Dynamicweb.Admin and Dynaminweb.Controls assemblies have reference to specific place outside the BIN folder of your project. If it is - change reference to your decompiled Dynamicweb dll. Please check that.
 
Nicolai Høeg Pedersen
Reply
You can copy your decompiled assembly to the the /Admin's bin folder... (/Admin/../Bin that is).

DW checks if those to folders have a Dynamicweb.dll of the same size, and if not upgrade.

It will only happen on login to administration, so if you need to debug something in the frontend it will not do it.

You might also be able to enable autologin on the administration, copy your decompiled assembly to /Bin and then just refresh a page in the administration - that will log you in again without assemblies being upgraded.

Hope this helps

 
Reply
Thanks. Will have to experiment a bit with that and see if I can make it work and tell Reflector to drop the assemblies in the Admin../Bin folder.....

Imar
 
Reply
 Did you find a solution for this?

 

You must be logged in to post in the forum