Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Serial Port 2.0 to 1.1 backward compatibility

Serial Port 2.0 to 1.1 backward compatibility

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdotnetquestion
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dominick ODierno
    wrote on last edited by
    #1

    If I write a program, say in C#, to read and write to a serial port and use the SerialPort class in .NET 2.0, will this program be compatible with machines still using .NET framework 1.1?

    D K 2 Replies Last reply
    0
    • D Dominick ODierno

      If I write a program, say in C#, to read and write to a serial port and use the SerialPort class in .NET 2.0, will this program be compatible with machines still using .NET framework 1.1?

      D Offline
      D Offline
      Dan Neely
      wrote on last edited by
      #2

      No. To use any 2.0 classes you need the 2.0 framework.

      D 1 Reply Last reply
      0
      • D Dan Neely

        No. To use any 2.0 classes you need the 2.0 framework.

        D Offline
        D Offline
        Dominick ODierno
        wrote on last edited by
        #3

        So if I developed it on a machine using .NET 2.0, compiled it, and moved the EXE to a computer with .NET 1.1, it would fail?

        D 1 Reply Last reply
        0
        • D Dominick ODierno

          So if I developed it on a machine using .NET 2.0, compiled it, and moved the EXE to a computer with .NET 1.1, it would fail?

          D Offline
          D Offline
          Dan Neely
          wrote on last edited by
          #4

          Yes.

          D 1 Reply Last reply
          0
          • D Dan Neely

            Yes.

            D Offline
            D Offline
            Dominick ODierno
            wrote on last edited by
            #5

            ok, good to know, thank you.

            1 Reply Last reply
            0
            • D Dominick ODierno

              If I write a program, say in C#, to read and write to a serial port and use the SerialPort class in .NET 2.0, will this program be compatible with machines still using .NET framework 1.1?

              K Offline
              K Offline
              Kurt _B
              wrote on last edited by
              #6

              I think the serial port classes were new in 2.0 so they wouldn't even be in 1.1.

              D 1 Reply Last reply
              0
              • K Kurt _B

                I think the serial port classes were new in 2.0 so they wouldn't even be in 1.1.

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #7

                They aren't. MS published a net1.1 beta version of them on a code site with a non commercial use only license, but otherwise you can't use them without .net 2.0.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups