Could not load file or assembly

.NET obfuscator and automated error reporting

Could not load file or assembly

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


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=, 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=, Culture=neutral, PublicKeyToken=0907d8af90186095'

DesktopEdtion.dll is the one obfuscated by Clisecure.

Is there anything I can do to reslove this?

Posts: 1
Joined: Wed Aug 17, 2011 9:23 pm

Postby james.davies » Fri Aug 19, 2011 2: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.
James Davies
Technical Support Engineer
Red Gate Software
Posts: 46
Joined: Tue Apr 19, 2011 1:39 pm

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests