Not referenced assemblies loaded with reflection
lechuckcaptain
Posts: 4
Hi,
I have a big VS2008 solution with many projects and many compiled assemblies, and I want to obfuscate them, and if possible embed them in only one executable.
The main problem is that some assemblies aren't referenced by the main executable, because they are loaded at runtime through reflection. So, SmartAssembly doesn't load these assemblies, and I can't add them to the final executable.
Is there a way I can avoid this problem?
Thank you in advance,
Marco
I have a big VS2008 solution with many projects and many compiled assemblies, and I want to obfuscate them, and if possible embed them in only one executable.
The main problem is that some assemblies aren't referenced by the main executable, because they are loaded at runtime through reflection. So, SmartAssembly doesn't load these assemblies, and I can't add them to the final executable.
Is there a way I can avoid this problem?
Thank you in advance,
Marco
Comments
James Davies
Technical Support Engineer
Red Gate Software
I tried adding the references to the assemblies without loading them, but it seems that {SA} doesn't load the assemblies.that aren't directly loaded. Can you confirm that?
Do I have to explicity load all the assemblies that I want to obfuscate in order to let {SA} to detect them?
Marco
Morevover, we cannot use your solution with a XAML styles assembly ...
You should permit us to add assemblies that SA does't find ! :x