Home - Forums-.NET - Spices.Net - Excluding a 3rd party assembly for obfuscation

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

Excluding a 3rd party assembly for obfuscation
Link Posted: 17-Mar-2006 02:07
I'm writing an app that users a couple of 3rd party controls.  One in particular I believe needs to exclude from obfuscation (otherwise I get the demo watermark everywhere).  I've selected the primary assembly ok and it obfuscates, but cannot work out how to enter the details for an Exclude.

Under Properties, Excludes, I click the ellipsis (...) and see a window headed Member Collection Editor.  I Add a new entry and it asks for AssemblyName, MemberInfoType and Name.  The control I want to exclude is Devcomponents.DotNetBar.DotNetBarManager from the dll Devcomponents.DotNetBar.dll.

I think I've tried all combinations of Devcomponents, Devcomponents.DotNetbar, Devcomponents.DotNetBar.DotNetBarManager and Devcomponents.DotNetBar.dll that I can.  When I try to obfuscate, I see:

Can't find assembly, for the member: Name:Devcomponents.DotNetBar.dll, Assembly:Devcomponents---- Finish preparing substitutions (0 items) and excludes (0 items)----

in the output window.  Can you give me a clue to what I'm getting wrong.

Cheers
Link Posted: 17-Mar-2006 03:43
You shouldn't include 3rd party components into Spices.Project for the obfuscation, but you can add references to these assemblies to Spices.Project.References to automatically resolve references to these 3rd party assemblies in the process of obfuscation.
Unfortunately Spices 4.x version can't copy these files to the destination folder, but the preapred for release Spices.Net 5.0 has a collection of obfuscation events that you can use to run some scripts/batches in before/after/in the process of obfuscation.
We hope that the PreRelease version of Spices.net will published tomorrow visit us tomorrow to download Spices.Net 5.0, you can try a much more interesting innovations and features.