| Author |
Message |
Andre Azevedo
Joined: 09 May 2010 Posts: 1
|
Posted: Sun May 09, 2010 12:10 am Post subject: Assembly Loading question |
|
|
Hi,
I'm using SA4 and I need to know how SA works on the following scenario:
One class library A that references another class library B. Assembly A was obfuscated with SA setting assembly B with dependency merging. So far so good.
Now, I've a console app X, that also references assembly B. On the X app, I use reflection to load obfuscated assembly A. The question is: Which assembly B the code from Assembly A will use? The one from X app or the one from Assembly A (that was dependency merged)?
Thanks! |
|
| Back to top |
|
 |
Alex.Davies
Joined: 02 Dec 2008 Posts: 335 Location: Cambridge, uk
|
Posted: Mon May 10, 2010 11:09 am Post subject: |
|
|
A will always use the merged version, since once an assembly is merged into another assembly, it genuinely becomes part of that assembly, and it would be impossible for types to be resolved outside.
The console app will definitely not use the merged copy directly. _________________ Alex
Developer,
Red Gate .NET Tools |
|
| 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