Re: Difference between Assembly and Module?

From: Bob Powell [MVP] (bob_at__spamkiller_bobpowell.net)
Date: 07/27/04


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
>
>
>


Relevant Pages

  • Re: Geometry Lock
    ... does a much better job with large assemblies like they claim. ... "Single design environment - IronCAD is very unique in that it does ... within a single file, and and at any time link out or insert files as ... When you want to edit a feature in this ...
    (comp.cad.solidworks)
  • Re: Geometry Lock
    ... does a much better job with large assemblies like they claim. ... "Single design environment - IronCAD is very unique in that it does ... within a single file, and and at any time link out or insert files as ... When you want to edit a feature in this ...
    (comp.cad.solidworks)
  • Re: deployment of a .NET DLL
    ... must be installed before you install your application. ... To strongly name the DLL, create a key by running the Visual Studio Command ... Visual Studio help called "Creating and Using Strong-Named Assemblies" ... Answer those GDI+ questions with the GDI+ FAQ ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Difference between Assembly and Module?
    ... > A module is the code generated from a single file. ... > Visual Studio is to compile all the files and make an assembly containing ... You can however create assemblies ... > Answer those GDI+ questions with the GDI+ FAQ ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Multifile Assembly with Compiled DLL?
    ... > functionality from a compiled VB.NET DLL, ... > single file. ... > I understand that I cannot use the IDE to make multifile assemblies. ... You first have to compile the code as a module on the command ...
    (microsoft.public.dotnet.framework)