Red Gate forums :: View topic - Merging/Embedding not referenced 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

Merging/Embedding not referenced assembly

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



Joined: 18 Nov 2011
Posts: 3

PostPosted: Sat Aug 10, 2013 1:30 pm    Post subject: Merging/Embedding not referenced assembly Reply with quote

hi
I am having an app that is using loosely coupled components that are stored in different assemblies.

A.exe depends on base.dll.
C.dll depends on base.dll too.
A.exe is dynamically loading C.dll to use it based on contract from base.dll.
Can smart assembly merge or embedd the C.dll into A.exe ?

Please disregard problem of A.exe detecting merged C.dll, I am serching for help how fo force SA to merge those.
BR
Przemek
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 585

PostPosted: Mon Aug 12, 2013 12:41 pm    Post subject: Reply with quote

Best thing is to try and see- SA will always *try* to merge an assembly and it may succeed but that doesn't mean you won't get runtime errors which are hard to predict. By the sound of it- because you are dynamically loading it- it won't work so you may need to modify the code to make it work or not bother merging. As I say- too hard to predict so try it and see.
Back to top
View user's profile Send private message
pokrec



Joined: 18 Nov 2011
Posts: 3

PostPosted: Mon Aug 12, 2013 8:01 pm    Post subject: Re: Reply with quote

I saw before starting new topic. It does not allow to do so. On the list you get only the referenced assemblies. If you add this assembly manually in the saproj then the button build is disabled.
Can smart assembly merge or embedd the un-referenced assembly?
Back to top
View user's profile Send private message
eric-914



Joined: 30 Nov 2012
Posts: 28

PostPosted: Thu Oct 24, 2013 4:11 pm    Post subject: I agree Reply with quote

There needs to be an option to manually add additional dependencies to the S/A project.
Back to top
View user's profile Send private message
eric-914



Joined: 30 Nov 2012
Posts: 28

PostPosted: Thu Oct 24, 2013 4:11 pm    Post subject: I agree Reply with quote

There needs to be an option to manually add additional dependencies to the S/A project.
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