| Author |
Message |
MidSilence
Joined: 25 Aug 2010 Posts: 5
|
Posted: Thu Aug 26, 2010 4:05 pm Post subject: Could not load file or assembly error on Merged Assembly |
|
|
Hello!
I've been used SA 4 with some plugin architeture with success but now using SA 5 I've got a "Could not load file or assembly" error.
The plugin dll (ie PlugIn.dll) exports an interfaced object (Obj1) that is called by main host exe (host.exe). Obj1 class is created using another classes referenced in plugin utils (PlugIn.Utils.dll). The SA project for PlugIn.dll uses the Merging feature to merge PlugIn.Utils.dll dependency into the resulting obfuscated dll assembly.
After loading resulting obfuscated PlugIn.dll on Host.exe, I made the call for Obj1 and get the results. In SA 4 the call works perfect but in SA 5 the Host.exe can't find the merged PlugIn.Utils.dll. The Stack shows me that the error occurs when Obj1 needs to find an Attribute class referenced on merged PlugIn.Utils.dll (at System.Reflection.RuntimeFieldInfo.GetCustomAttributes method).
Any ideas how to solve this?
Thanks! |
|
| Back to top |
|
 |
nick.maidment
Joined: 29 Jan 2010 Posts: 74
|
Posted: Tue Aug 31, 2010 12:51 pm Post subject: |
|
|
Please could you send a screenshot of the error you're seeing to support @ red-gate . com with F0038367 in the subject line.
Thanks! |
|
| Back to top |
|
 |
|
|
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