Red Gate forums :: View topic - locating a dll required by SA's own dll
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

locating a dll required by SA's own dll

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



Joined: 17 Apr 2012
Posts: 16

PostPosted: Mon Jan 28, 2013 11:08 pm    Post subject: locating a dll required by SA's own dll Reply with quote

As you know, the dll created by SA is embedded/merged into my own SA protected exe.

The dll created by SA references another dll which is located in a folder beneath the location of my exe. My exe.config file ensures probing of this sub-folder to find the dll referenced in my exe but will the SA dll created and embedded/merged into my exe be able to also locate the referenced dll located in the subfolder?
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Wed Jan 30, 2013 1:52 pm    Post subject: Reply with quote

That somewhat depends on the mechanism by which it tries to load the DLL in the sub-folder. If you're referencing it by name as a string to load the assembly) you may find SA has changed this in your code and it won't work, in which case excluding it may help.

Best would be to simply try it out; and if you're having trouble let us know the error you see and an example of the code and how everything is configured.
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