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. C#
  4. How to know the .net version of a windows application just looking the code?

How to know the .net version of a windows application just looking the code?

Scheduled Pinned Locked Moved C#
csharpcomhelptutorialquestion
8 Posts 4 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.
  • K Offline
    K Offline
    Krushna Sahu
    wrote on last edited by
    #1

    Hi, I have a .net windows application. I just want to know the version of the project just looking to the code. Where can I get some idea about this/ Please help regarding this. Thanks..

    --Krushna Chandra Sahu prfkrushna@gmail.com

    C K 2 Replies Last reply
    0
    • K Krushna Sahu

      Hi, I have a .net windows application. I just want to know the version of the project just looking to the code. Where can I get some idea about this/ Please help regarding this. Thanks..

      --Krushna Chandra Sahu prfkrushna@gmail.com

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Well, if you're using VS2002, it's C#1.0. 2003, it's 1.1. 2005, it's 2.0, or 3.0. 2008, it's 2.0 or 3.5. 3.0 was a patch to 2.0.

      Christian Graus Driven to the arms of OSX by Vista.

      K 1 Reply Last reply
      0
      • K Krushna Sahu

        Hi, I have a .net windows application. I just want to know the version of the project just looking to the code. Where can I get some idea about this/ Please help regarding this. Thanks..

        --Krushna Chandra Sahu prfkrushna@gmail.com

        K Offline
        K Offline
        Karmendra Suthar
        wrote on last edited by
        #3

        Load the latest version (i.e. 3.5) and it will take care of all the older versions. You need not worry what version is required to run your application. Cheers Karmu

        D 1 Reply Last reply
        0
        • K Karmendra Suthar

          Load the latest version (i.e. 3.5) and it will take care of all the older versions. You need not worry what version is required to run your application. Cheers Karmu

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          KSuthar wrote:

          Load the latest version (i.e. 3.5) and it will take care of all the older versions

          Uhhh...no, it won't. .NET 3.0 and 3.5 are based on the .NET 2.0 CLR. Both are a bunch of extensions to .NET. It does not install .NET 1.0 or 1.1. Though, on a completely patched up installation of Vista, you get .NET 1.0, 1.1, 2.0 and 3.0 installed for you.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          K 1 Reply Last reply
          0
          • C Christian Graus

            Well, if you're using VS2002, it's C#1.0. 2003, it's 1.1. 2005, it's 2.0, or 3.0. 2008, it's 2.0 or 3.5. 3.0 was a patch to 2.0.

            Christian Graus Driven to the arms of OSX by Vista.

            K Offline
            K Offline
            Krushna Sahu
            wrote on last edited by
            #5

            Thank you for reply. Let me make you clear about my problem. Actually I don't know about the version of my existing application. I'm just looking into the code. Can I find something any clue/information while opening the codes in notepad, so that I can know the version like 1.0/1.1/2.0 etc or 2002/2003/2005 like that.

            --Krushna Chandra Sahu prfkrushna@gmail.com

            1 Reply Last reply
            0
            • D Dave Kreskowiak

              KSuthar wrote:

              Load the latest version (i.e. 3.5) and it will take care of all the older versions

              Uhhh...no, it won't. .NET 3.0 and 3.5 are based on the .NET 2.0 CLR. Both are a bunch of extensions to .NET. It does not install .NET 1.0 or 1.1. Though, on a completely patched up installation of Vista, you get .NET 1.0, 1.1, 2.0 and 3.0 installed for you.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008

              K Offline
              K Offline
              Krushna Sahu
              wrote on last edited by
              #6

              Thank you for reply. Let me make you clear about my problem. Actually I don't know about the version of my existing application. I'm just looking into the code. Can I find something any clue/information while opening the codes in notepad, so that I can know the version like 1.0/1.1/2.0 etc or 2002/2003/2005 like that. Thank you.

              --Krushna Chandra Sahu prfkrushna@gmail.com

              D 1 Reply Last reply
              0
              • K Krushna Sahu

                Thank you for reply. Let me make you clear about my problem. Actually I don't know about the version of my existing application. I'm just looking into the code. Can I find something any clue/information while opening the codes in notepad, so that I can know the version like 1.0/1.1/2.0 etc or 2002/2003/2005 like that. Thank you.

                --Krushna Chandra Sahu prfkrushna@gmail.com

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                No, you can't. There's nothing that will tell you which version of the .NET Framework the app will bind to by looking at it in Notepad. Nor have I heard of any utility that will do it either.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007, 2008

                K 1 Reply Last reply
                0
                • D Dave Kreskowiak

                  No, you can't. There's nothing that will tell you which version of the .NET Framework the app will bind to by looking at it in Notepad. Nor have I heard of any utility that will do it either.

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                       2006, 2007, 2008

                  K Offline
                  K Offline
                  Krushna Sahu
                  wrote on last edited by
                  #8

                  Thank you...

                  --Krushna Chandra Sahu prfkrushna@gmail.com

                  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