Options

Merging/Embedding not referenced assembly

pokrecpokrec Posts: 5
edited October 24, 2013 11:11AM in SmartAssembly
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

Comments

  • Options
    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.
  • Options
    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?
  • Options
    There needs to be an option to manually add additional dependencies to the S/A project.
  • Options
    There needs to be an option to manually add additional dependencies to the S/A project.
Sign In or Register to comment.