|
-
Jul 26th, 2010, 08:49 AM
#1
DLL Library
Hello all i have small problem that i would like to share:
i have 1 web site and two windows application and they all share the same DLL Library the thing is that when ever i compile applications or the website the dll file size is different from the others
for example App1 DLL result in size of 140kb,
App2 DLL is 145kb in size
and the web app DLL is 152KB in size... this seems a bit weird to me, isn't all the DLL's should have the same size since they all from the same source?
Thanks.
* Rate It  If you Like it
__________________________________________________________________________________________
" Programming is like sex: one mistake and you’re providing support for a lifetime."
Get last SQL insert ID 
-
Jul 26th, 2010, 09:20 AM
#2
Re: DLL Library
are they all used by applications written in the same version of .net?
identical file sizes differ in different versions
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Jul 26th, 2010, 09:55 AM
#3
Re: DLL Library
If you compile in release/debug they are different sizes. If they share the same libarary, are they not all in the same solution?
-
Jul 26th, 2010, 10:09 AM
#4
Re: DLL Library
@Paul they all written with VS2010
@Grimfort i didn't really understand what you saying, in each application i added the DLL library with "Add existing Project" and then set a reference to the folder in which the DLL Library is in.
* Rate It  If you Like it
__________________________________________________________________________________________
" Programming is like sex: one mistake and you’re providing support for a lifetime."
Get last SQL insert ID 
-
Jul 26th, 2010, 10:32 AM
#5
Re: DLL Library
So each time you open any of the projects you will recompile the .dll every time. If you are not actually changing it, rather than adding it as a project, just compile it once and add it as a dll reference instead of a project reference. Or, just add all projects to the same solution if they are of the same family of products. I have about 25 projects including 2 web, 4 services, 2 apps all in the same solution as I have common code between them all. Also saves moving between project sets all the time .
Each solution may have different compile options, ie debug/release which may have a bearing. Or maybe you have auto-version on so every time you compile you get a new version number which is slightly changing your file size.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|