none
What are the signatures of the various versions RRS feed

  • Question

  • I have a PC with .NET 3.5 only.  I ran a Windows Forms application and AppDomain.CurrentDomain.GetAssemblies() gives me the following (my own assembly removed):

      mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
      System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
      System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
      System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
      System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
      System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
      System.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

    Why are the versions of the assemblies still 2.0.0.0?

    Thanks.
    Wednesday, September 16, 2009 4:25 AM

Answers

  • Hi K.Kong,

    .NET Framework 3.5 includes .NET Framework 2.0 and 3.0. They are the prerequisite of .NET Framework 3.5.

    The .NET Framework has two main components: the common language runtime (CLR) and the .NET Framework class library. The common language runtime is the foundation of the .NET Framework. .NET Framework 3.5 uses CLR version 2.0 and so does .NET Framework 2.0 or 3.0, while .NET framework 1.1 uses v1.1.
    The Core parts are referred to speak as the 'Red Bits' and the rest as the 'Green Bits'.
    For more information, see: http://www.danielmoth.com/Blog/2007/06/net-framework-35.html

    The assemblies that you listed above like 'mscorlib' are the core assemblies of .NET Framework. Thus, the assemblies are still 2.0.0.0.

    Hope this helps. If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen

    (This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.)
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by K.Kong Thursday, September 17, 2009 3:12 PM
    Thursday, September 17, 2009 7:19 AM