Could not load file or assembly

ThorThor Posts: 2
edited August 19, 2011 10:42AM in SmartAssembly
Hi,

There is an application used some dependency which obfuscated by Clisecure, the dependency dlls obfuscate with renaming only. But when I use smartassembly 6.1 to obfuscate this application, it will crashed with the error below:

System.IO.FileLoadException: Could not load file or assembly 'DesktopEdition, Version=5.0.0.0, Culture=neutral, PublicKeyToken=0907d8af90186095' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'DesktopEdition, Version=5.0.0.0, Culture=neutral, PublicKeyToken=0907d8af90186095'

DesktopEdtion.dll is the one obfuscated by Clisecure.

Is there anything I can do to reslove this?

Regards

Comments

  • Unfortunately it is difficult for SmartAssembly to process an assembly that has already been processed by a different Obfuscater. This is because the metadata can be stripped out and that appears to be the case here. So sadly it looks like this assembly can't be merged or embedded , and you will need to distribute it will your application.
    Thanks,
    James Davies
    Technical Support Engineer
    Red Gate Software
Sign In or Register to comment.