Could not load file or assembly

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Could not load file or assembly

Postby Thor » Wed Aug 17, 2011 10:31 pm

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
Thor
 
Posts: 1
Joined: Wed Aug 17, 2011 10:23 pm

Postby james.davies » Fri Aug 19, 2011 3:42 pm

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
james.davies
 
Posts: 46
Joined: Tue Apr 19, 2011 2:39 pm


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 2 guests