Red Gate forums :: View topic - Could not load file or assembly
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Could not load file or assembly

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Thor



Joined: 17 Aug 2011
Posts: 1

PostPosted: Wed Aug 17, 2011 10:31 pm    Post subject: Could not load file or assembly Reply with quote

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
Back to top
View user's profile Send private message
james.davies



Joined: 19 Apr 2011
Posts: 46

PostPosted: Fri Aug 19, 2011 3:42 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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