Visual Studio and .Net Runtime Framework dependency

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?R2Vvcmdl?=

    #1

    Visual Studio and .Net Runtime Framework dependency

    Hello everyone,


    If I am using Visual Studio 2005 to build a C# Class Library (COM), it is as
    default dependent on .Net Runtime Framework 2.0 when running?

    If I am using Visual Studio 2003 to build a C# Class Library (COM), it is as
    default dependent on .Net Runtime Framework 1.1 when running?

    How to check the .Net Framework Runtime dependencies when using Visual Studio?


    thanks in advance,
    George
  • Jon Skeet [C# MVP]

    #2
    Re: Visual Studio and .Net Runtime Framework dependency

    On Aug 7, 12:58 pm, George <Geo...@discuss ions.microsoft. comwrote:
    If I am using Visual Studio 2005 to build a C# Class Library (COM), it is as
    default dependent on .Net Runtime Framework 2.0 when running?
    Yes.
    If I am using Visual Studio 2003 to build a C# Class Library (COM), it is as
    default dependent on .Net Runtime Framework 1.1 when running?
    Yes.
    How to check the .Net Framework Runtime dependencies when using Visual Studio?
    What do you mean, exactly? At installation time?

    Jon

    Comment

    • =?Utf-8?B?R2Vvcmdl?=

      #3
      Re: Visual Studio and .Net Runtime Framework dependency

      Thanks Jon,


      --------------------
      How to check the .Net Framework Runtime dependencies when using Visual Studio?
      What do you mean, exactly? At installation time?
      --------------------

      I mean when development using Visual Studio (either 2003 or 2005), how to
      check manually which CLR (.Net Runtime Framework) the C# Class Library is
      dependent on (1.1 oe 2.0 or later version)? Are there any options in Project
      properties or somthing?


      regards,
      George

      "Jon Skeet [C# MVP]" wrote:
      On Aug 7, 12:58 pm, George <Geo...@discuss ions.microsoft. comwrote:
      If I am using Visual Studio 2005 to build a C# Class Library (COM), it is as
      default dependent on .Net Runtime Framework 2.0 when running?
      >
      Yes.
      >
      If I am using Visual Studio 2003 to build a C# Class Library (COM), it is as
      default dependent on .Net Runtime Framework 1.1 when running?
      >
      Yes.
      >
      How to check the .Net Framework Runtime dependencies when using Visual Studio?
      >
      What do you mean, exactly? At installation time?
      >
      Jon
      >
      >

      Comment

      • Jon Skeet [C# MVP]

        #4
        Re: Visual Studio and .Net Runtime Framework dependency

        On Aug 7, 2:06 pm, George <Geo...@discuss ions.microsoft. comwrote:
        --------------------
        >
        How to check the .Net Framework Runtime dependencies when using Visual Studio?
        >
        What do you mean, exactly? At installation time?
        --------------------
        >
        I mean when development using Visual Studio (either 2003 or 2005), how to
        check manually which CLR (.Net Runtime Framework) the C# Class Library is
        dependent on (1.1 oe 2.0 or later version)? Are there any options in Project
        properties or somthing?
        There are no options for VS.NET 2003 or VS 2005 - basically, unless
        you've specifically started using MS BEE (in which case you'd know
        about it) you'll be using 1.1 under 2003 and 2.0 under 2005.

        Orcas (VS 2008) allows you to target 2.0, 3.0 or 3.5, and it's a
        project property.

        Jon

        Comment

        • =?Utf-8?B?R2Vvcmdl?=

          #5
          Re: Visual Studio and .Net Runtime Framework dependency

          Thanks for your advice, Jon!


          I think .Net 2.0 code can not run on .Net 1.1 Runtime, .Net 1.1 code can run
          on both .Net 1.1 Runtime and .Net 2.0 Runtime, right?


          regards,
          George

          "Jon Skeet [C# MVP]" wrote:
          On Aug 7, 2:06 pm, George <Geo...@discuss ions.microsoft. comwrote:
          --------------------
          How to check the .Net Framework Runtime dependencies when using Visual Studio?
          What do you mean, exactly? At installation time?
          --------------------

          I mean when development using Visual Studio (either 2003 or 2005), how to
          check manually which CLR (.Net Runtime Framework) the C# Class Library is
          dependent on (1.1 oe 2.0 or later version)? Are there any options in Project
          properties or somthing?
          >
          There are no options for VS.NET 2003 or VS 2005 - basically, unless
          you've specifically started using MS BEE (in which case you'd know
          about it) you'll be using 1.1 under 2003 and 2.0 under 2005.
          >
          Orcas (VS 2008) allows you to target 2.0, 3.0 or 3.5, and it's a
          project property.
          >
          Jon
          >
          >

          Comment

          • Jon Skeet [C# MVP]

            #6
            Re: Visual Studio and .Net Runtime Framework dependency

            George <George@discuss ions.microsoft. comwrote:
            Thanks for your advice, Jon!
            >
            I think .Net 2.0 code can not run on .Net 1.1 Runtime, .Net 1.1 code can run
            on both .Net 1.1 Runtime and .Net 2.0 Runtime, right?
            Exactly. There are a few compatibility issues running 1.1 code on 2.0
            (i.e. a few cases where the results will be different) but largely you
            should be fine.

            --
            Jon Skeet - <skeet@pobox.co m>
            http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
            If replying to the group, please do not mail me too

            Comment

            • =?Utf-8?B?R2Vvcmdl?=

              #7
              Re: Visual Studio and .Net Runtime Framework dependency

              Thanks Jon,


              Your answer is clear.


              regards,
              George

              "Jon Skeet [C# MVP]" wrote:
              George <George@discuss ions.microsoft. comwrote:
              Thanks for your advice, Jon!

              I think .Net 2.0 code can not run on .Net 1.1 Runtime, .Net 1.1 code can run
              on both .Net 1.1 Runtime and .Net 2.0 Runtime, right?
              >
              Exactly. There are a few compatibility issues running 1.1 code on 2.0
              (i.e. a few cases where the results will be different) but largely you
              should be fine.
              >
              --
              Jon Skeet - <skeet@pobox.co m>
              http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
              If replying to the group, please do not mail me too
              >

              Comment

              Working...