Red Gate forums :: View topic - Obfuscating non-dependent assemblies
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 5
SmartAssembly 5 forum

Obfuscating non-dependent assemblies

Search in SmartAssembly 5 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
mcobrien



Joined: 19 Jul 2010
Posts: 3

PostPosted: Mon Jul 19, 2010 11:13 am    Post subject: Obfuscating non-dependent assemblies Reply with quote

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
View user's profile Send private message
Alex.Davies



Joined: 02 Dec 2008
Posts: 335
Location: Cambridge, uk

PostPosted: Thu Jul 29, 2010 10:15 am    Post subject: Reply with quote

The way to do this is using a separate SA project for each assembly.
_________________
Alex
Developer,
Red Gate .NET Tools
Back to top
View user's profile Send private message
Uniwares_AS



Joined: 11 Oct 2007
Posts: 132

PostPosted: Thu Jul 29, 2010 1:02 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. 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