Home - Forums-.NET - Spices.Net - Obfuscator - dependent projects don't get obf. version

Spices.Net

NET code security, tools to protect, obfuscate, tamper defense, code and data safety, recover, convert, optimize, explore, browse and analyze .Net software.

This forum related to following products: Spices.Net Suite, Spices.Net Obfuscator, Spices.Net Decompiler

Obfuscator - dependent projects don't get obf. version
Link Posted: 07-Feb-2007 07:36
I am using MSBuild to do my obfuscation, which works fine for the project I need to obfuscate (\"Project A\").  However, I have two other web applications (\"Project B\", \"Project C\") that have project references to my \"Project A\".  When I Rebuild B & C, it causes A to be obfuscated as it should, but B & C do not get the obfuscated version of the DLL.  Below is my MSBuild section that does the obfuscation.  Any ideas for making B & C get the obfuscated version?  For now, I am having to manually copy the DLL from A into the bin folder of B & C after I build (B & C reference this file directly).  I tried a  MSBuild element after my  element, but it did not seem to work.  I did not have any luck getting the obfuscator event to do the copy either.  Thanks for any help.


  
    
  
Link Posted: 07-Feb-2007 08:46
You can specify Spices.Project.ObfuscationEvents for these purposes and use ObfuscationEvents.AfterProjectObfuscation event to copy assemblies to another location.