Re: Difference between Assembly and Module?
From: Bob Powell [MVP] (bob_at__spamkiller_bobpowell.net)
Date: 07/27/04
- Next message: Sam Jost: "Re: Generics in .NET 2.0 SUCK"
- Previous message: news.microsoft.com: "Re: how to code sourcecode editor with syntax hilighted and IntelliSense function"
- In reply to: Sky Sigal: "Difference between Assembly and Module?"
- Next in thread: Sky Sigal: "Re: Difference between Assembly and Module?"
- Reply: Sky Sigal: "Re: Difference between Assembly and Module?"
- Reply: clintonG: "Re: Difference between Assembly and Module?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Jul 2004 16:04:37 +0200
A module is the code generated from a single file. A single file can contain
one or more classes so a module may have one or more classes.
Classes, or modules, are distributed in Assemblies along with other embedded
informatiuon such as resources in the form of strings and images. The types
or modules themselves hold no version information. That's all maintained in
the assembly.
The default method for creating an executable file, either EXE or DLL from
Visual Studio is to compile all the files and make an assembly containing
the modules defined in the project. You can however create assemblies
manually using the Assembly Linker program AL.EXE. This enables you to
create single assemblies from several other assemblies. AL can do this
because it can extract the modules from one or more assemblies and create a
new assembly containing them.
-- Bob Powell [MVP] Visual C#, System.Drawing The Image Transition Library wraps up and LED style instrumentation is available in the June of Well Formed for C# or VB programmers http://www.bobpowell.net/currentissue.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml "Sky Sigal" <aspforums@xact-solutions.removethis.com> wrote in message news:OGsoq89cEHA.3928@TK2MSFTNGP09.phx.gbl... > Uh...a bit ashamed to admit this now that I have been programming in C# for > a while...but I still don't clearly understand from the documentation what > the difference between an Assembly and a Module, and when I would use > anything else than Assembly for reflection purposes... > > Assembly is the actual dll, or exe file, right? > > Module is...? A subset of an assembly? a superset? Nothing to do with it at > all? > > And btw: if an application has one exe, and 2 dll -- what is the term for > this totality if any -- or just 'application'? > > > Sorry for being obtuse on this one ... > Sky > > >
- Next message: Sam Jost: "Re: Generics in .NET 2.0 SUCK"
- Previous message: news.microsoft.com: "Re: how to code sourcecode editor with syntax hilighted and IntelliSense function"
- In reply to: Sky Sigal: "Difference between Assembly and Module?"
- Next in thread: Sky Sigal: "Re: Difference between Assembly and Module?"
- Reply: Sky Sigal: "Re: Difference between Assembly and Module?"
- Reply: clintonG: "Re: Difference between Assembly and Module?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|