i have created a .NET assembly, and even in release mode, the size of the
dll is over 1 megabyte.
i have got ~15000 lines of code, and i do link to one or two lib files.
any general advice as in to what i should be looking into for reducing
(significantly) the size of the file?

cheers,
g.

Re: reducing size of .NET assembly file by Gabriele

Gabriele
Wed Nov 19 07:04:35 CST 2003

Try Dotfuscator Community Edition. It's a code obfuscator, but as side
effect it should reduce the size of your DLL.

http://www.preemptive.com/dotfuscator/dotfuscator_ce.html



Re: reducing size of .NET assembly file by Eric

Eric
Wed Nov 19 14:00:37 CST 2003

Instead of doing something silly like Obfuscation which is a pain in itself,
consider some of the things that might be happening that signifigantly
increase size of code:
- in VB.Net, leaving "Option Strict" setting Off...
- adding Resources to a class project

An .exe of 1MB isnt that big a deal, since there's icons and bitmaps and so
forth buried inside.

A dll thats 1MB isnt such a big concern either...

--
Eric Newton
C#/ASP Application Developer
eric@cc.ensoft-software.com [remove the first "CC."]

"Gabriele G. Ponti" <ggponti.at.hotmail.com> wrote in message
news:u6Qvv2prDHA.572@TK2MSFTNGP11.phx.gbl...
> Try Dotfuscator Community Edition. It's a code obfuscator, but as side
> effect it should reduce the size of your DLL.
>
> http://www.preemptive.com/dotfuscator/dotfuscator_ce.html
>
>



Re: reducing size of .NET assembly file by Al

Al
Wed Nov 19 19:55:44 CST 2003

Spices.Obfuscator.Net
http://www.9rays.net/cgi-bin/components.cgi?act=2&cid=86
--
Best regards,
Al Ponomarev
9Rays.Net