What does mscorlib mean?

mscorlib is definitely one of the libraries of the .net base class, and every C # program depends on it, but what does it mean?

In the ECMA standard for C # Language Specification, a word is mentioned 4 times, and none of them refers to what it means.

+48
c #
Feb 25 '13 at 7:25
source share
4 answers

M icro s oft C ommon Oject R untime Lib final.

See http://www.danielmoth.com/Blog/mscorlibdll.aspx and What Does Cor Mean?

+46
Feb 25 '13 at 7:30
source share

Microsoft Core Library, i.e. they are at the center of everything.

There is a more “mass" explanation that you may prefer:

“When Microsoft first started working with the .NET Framework, MSCorLib.dll was an abbreviation for the Microsoft Common Object standard runtime library. As soon as ECMA began to standardize the CLR and FCL parts, MSCorLib.dll officially became an abbreviation for the multilingual standard runtime library of a regular object. "

From http://weblogs.asp.net/mreynolds/archive/2004/01/31/65551.aspx

Around 1999, in my personal memory .Net was known as "COOL", so I am a little suspicious of this conclusion. I have never heard it called "COR", which is a silly-sounding name for an English speaker.

+28
Feb 25 '13 at 7:26
source share

It means

Microsoft Common Object Runtime Library

and this is the main assembly for the Common Library Framework.

It contains the following namespaces:

System System.Collections System.Configuration.Assemblies System.Diagnostics System.Diagnostics.SymbolStore System.Globalization System.IO System.IO.IsolatedStorage System.Reflection System.Reflection.Emit System.Resources System.Runtime.CompilerServices System.Runtime.InteropServices System.Runtime.InteropServices.Expando System.Runtime.Remoting System.Runtime.Remoting.Activation System.Runtime.Remoting.Channels System.Runtime.Remoting.Contexts System.Runtime.Remoting.Lifetime System.Runtime.Remoting.Messaging System.Runtime.Remoting.Metadata System.Runtime.Remoting.Metadata.W3cXsd2001 System.Runtime.Remoting.Proxies System.Runtime.Remoting.Services System.Runtime.Serialization System.Runtime.Serialization.Formatters System.Runtime.Serialization.Formatters.Binary System.Security System.Security.Cryptography System.Security.Cryptography.X509Certificates System.Security.Permissions System.Security.Policy System.Security.Principal System.Text System.Threading Microsoft.Win32 

Interesting information about MSCorlib:

  • The .NET 2.0 assembly will reference and use 2.0 mscorlib. .NET 1.1 assembly will reference 1.1 mscorlib , but will use 2.0 mscorlib at runtime (due to redirecting hardcoded versions to theruntime)
  • There is only one version of mscorlib in the GAC; you will not find version 1.1 on the GAC, even if version 1.1 is installed on your computer. the car. It would be nice if someone could explain why MSCorlib 2.0 alone is in the GAC, while version 1.x is inside the frame folder.
  • Is it possible to get another runtime to load using the configuration setting in your /web.config application? you cannot select the CLR version using the settings in the ConfigurationFile - at this point the CLR will already be running, and there can only be one for each process. Immediately after the CLR is selected MSCorlib suitable for this CLR.
+26
Feb 25 '13 at 7:39
source share

mscorlib means "Microsoft Common Object Runtime Library"

-four
Jan 04 '17 at 19:50
source share



All Articles