Red Gate forums :: View topic - DLL Merges
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

DLL Merges

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



Joined: 23 Apr 2013
Posts: 1

PostPosted: Tue Apr 23, 2013 10:26 am    Post subject: DLL Merges Reply with quote

Hi

I'm currently evaluating smartassembly, and I've some questions on best practices and how tos.

First I'm thinking about creating packaces of my application.
So For Example a "Framework.dll" instead auf 10 small dlls

Now there is not a dll which references all 9 others.

But in smartassembly I have to choose one single primary assembly.

So should I create a dummy project "FrameWorkWrapper" ? which has the dependencies ?

What is recommended to do this?
Back to top
View user's profile Send private message
james.billings



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

PostPosted: Wed Apr 24, 2013 12:59 pm    Post subject: Reply with quote

Thanks for your post.

The "main" assembly is normally the one that's called by your program. If that main DLL then has some other references that aren't directly used you can merge them, but it sounds like in your case it's a little different.

If the main DLL doesn't reference the other ones; what does? If they are referenced by an executable, then it wouldn't be able to find the other ones once merged into the primary one (assuming you were able to do this after adding references) so you'd need to change your executable to reference the obfuscated assembly to find the various classes.

If all the DLLs are somewhat unrelated, then your idea of creating one primary one with dependencies is probably a way around it. Otherwise you'd need to process each DLL separately with its own .saProj.
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