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
Developer forum
E-mail notifications
Stop Dynamicweb from copying assemblies
Posted on 05/04/2011 13:53:43
Replies
Posted on 06/04/2011 03:12:45
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
Posted on 07/04/2011 09:12:34
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
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
Posted on 07/04/2011 09:25:05
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
Imar
Posted on 27/04/2011 22:31:59
Did you find a solution for this?
You must be logged in to post in the forum