Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / January 2004

Tip: Looking for answers? Try searching our database.

What does ms in mscorlib.dll stands for ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kapil Sachdeva - 27 Jan 2004 21:42 GMT
Hi:

I was just wondering what does 'ms' in mscorlib.dll stands for ?. It
shouldn't be 'microsoft' else it defies the purpose of platform
interoperability. Mono guys call their main assembly - 'corlib.dll'.
I do not know if Mono is giving their assembly the wrong name or 'ms' is
microsoft ?

Please clear my doubts and confusion on this.

regards & thanks
Kapil
Ed Kaim [MSFT] - 27 Jan 2004 22:34 GMT
I'm not 100% sure, but I don't think the ECMA standard specifies an assembly
name.

> Hi:
>
[quoted text clipped - 8 lines]
> regards & thanks
> Kapil
Kapil Sachdeva - 28 Jan 2004 00:33 GMT
That's true but if you take your application from Win32 (MSFT) to Unix
(Mono) it won't
work due to existence of corlib or mscorlib.

I am looking for the write name of the main dll and ofcourse 'ms'

regards & thanks
Kapil

> I'm not 100% sure, but I don't think the ECMA standard specifies an assembly
> name.
[quoted text clipped - 11 lines]
> > regards & thanks
> > Kapil
Hurrassinger Sepp - 28 Jan 2004 12:54 GMT
Hi,

out of the book 'Applied Microsoft .NET Framework Programming':
------------------------------------------------------------------------
When Microsoft first started working on the .NET Framework, MSCorLib.dll was
an acronym for Microsoft Common Object Runtime Library. Once ECMA started to
standardize the CLR and parts of the FCL, MSCorLib.dll officially became the
acronym for Multilanguage Standard Common Object Runtime Library. :-)
------------------------------------------------------------------------
--> out of that it is a fault of the Mono-Project. Whatever ...

It should be mentioned that mscorlib.dll is an pre-compiled assembly. So
maybe that's a reason why it doesn't work using it with Unix. There is a
tool available when you have installed .NET SDK called NGEN. With this tool
you can create your own pre-compiled assemblies. (It yould be that NGEN adds
some Microsoft specific stuff to the assembly which sould be pre-compiled
and so for example mscorlib.dll won't work in combination with Unix ... it's
just an idea and thought of mine. Maybe I'm wrong)

Cheers,
 Sepp

> That's true but if you take your application from Win32 (MSFT) to Unix
> (Mono) it won't
[quoted text clipped - 21 lines]
> > > regards & thanks
> > > Kapil
Kapil Sachdeva - 28 Jan 2004 16:01 GMT
Dear Hurrassignger

Thank you vey much.for this excellent explanation. It solves my confusion.

regards & thanks again
Kapil

> Hi,
>
[quoted text clipped - 44 lines]
> > > > regards & thanks
> > > > Kapil
Ed Kaim [MSFT] - 28 Jan 2004 17:17 GMT
Yes, I was wrong about the name not being standardized. Sorry about that :-(

> Dear Hurrassignger
>
[quoted text clipped - 58 lines]
> > > > > regards & thanks
> > > > > Kapil
mikeb - 28 Jan 2004 18:48 GMT
> Hi:
>
[quoted text clipped - 8 lines]
> regards & thanks
> Kapil

The ECMA standard defines all the types that are part of the BCL (Base
Class Library) in an XML file called "All.xml"

Most (All?) of the types in the BCL are defined to be in an assembly
named "mscorlib".

I could not find any reference in the ECMA spec as to what the name
stands for - I assume that when MS was initially  designing the .NET
framework it stood for "Microsoft Core Library" and that it was
standardized with the "mscorlib" name in the ECMA spec without any
rationale given to its name (as it doesn't really matter except possibly
for political reasons).

A similar situation occurred with the "DVD" trademark.  First it
officially stood for "Digital Video Disc", the "Digital Versatile Disc',
and finally "DVD" officially stands for nothing - it's just "DVD".

Note that while the assembly name is specified, the ECMA spec
specifically states (in Appendix E of Partition V) that filenames are
not not specified.  In other words, assemblies are logical concepts that
can be implemented in different ways by different CLI implementations.

Browsing the online Mono documentation indicates that they specify the
assembly name as "mscorlib".  Those docs also state that assembly
mscorlib is in "mscorlib.dll" (which is the filename on my Windows
install of Mono).

I'm not familiar with the Mono project on Unix (and am not very familiar
with it on Windows either), but I'd assume that even if the file
containing the (or most of the) BCL is named corlib.dll, that the
runtime should bind references to the "mscorlib" assembly to that file.

I've tried a simple console program compiled with Microsoft's C#
compiler, and ran it with the Mono runtime (on a Windows platform), and
had no trouble.  I think that your concerns are nothing to worry about.

Signature

mikeb


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.