| Author |
Message |
mcobrien
Joined: 19 Jul 2010 Posts: 3
|
Posted: Mon Jul 19, 2010 11:13 am Post subject: Obfuscating non-dependent assemblies |
|
|
I'm evaluating SA at the moment and there's one Dotfuscator feature I'm trying to find. With Dotfuscator (which I really, *really* want to leave behind!), I can obfuscate an arbitrary set of assemblies, regardless of their dependencies. With SA that doesn't seem to be possible.
Specifically, let's say I have three assemblies I want to obfuscate: Console, Library and Plugin. Both Plugin and Console depend on Library, so I can obfuscate two pretty easily (if I use embedding or merging), and with two SA projects I could obfuscate all three.
However, Console works by loading Plugin via reflection, so the types in Library have to be obfuscated to the same names when I run SA against Console and Plugin. I guess I also want Library to remain an external assembly, though still have it obfuscated.
Is this possible? |
|
| Back to top |
|
 |
Alex.Davies
Joined: 02 Dec 2008 Posts: 335 Location: Cambridge, uk
|
Posted: Thu Jul 29, 2010 10:15 am Post subject: |
|
|
The way to do this is using a separate SA project for each assembly. _________________ Alex
Developer,
Red Gate .NET Tools |
|
| Back to top |
|
 |
Uniwares_AS
Joined: 11 Oct 2007 Posts: 132
|
Posted: Thu Jul 29, 2010 1:02 pm Post subject: |
|
|
If there are no other dependencies you can also use one "generic" project file and use the inputfile/outputfile feature.
Even with dependencies you can add the dependencies of all your assemblies into one project file. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group