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. Choice of .NET Framework version

Choice of .NET Framework version

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdotnetwinformsquestionannouncement
4 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.
  • F Offline
    F Offline
    fdsfsa76f7sa6
    wrote on last edited by
    #1

    If my applications (mainly WinForms, C#) work in older versions of .NET Framework, should I publish them in older or new version? Is there any criteria that I should look for? Thanks in advance!

    K P T 3 Replies Last reply
    0
    • F fdsfsa76f7sa6

      If my applications (mainly WinForms, C#) work in older versions of .NET Framework, should I publish them in older or new version? Is there any criteria that I should look for? Thanks in advance!

      K Offline
      K Offline
      Kubajzz
      wrote on last edited by
      #2

      It really depends on the kind of application and who it is intended for. If you do not need any features of the latest version and if you do not use any libraries built with the latest version of the framework, then it might be appropriate to build your project for an older version of .NET. For example .NET 3.0 is pre-installed on all Windows Vista computers and .NET 3.5 ships with Windows 7. Therefore if you chose .NET 3.0 as your target framework, there will be more users able to use your application out of the box.

      1 Reply Last reply
      0
      • F fdsfsa76f7sa6

        If my applications (mainly WinForms, C#) work in older versions of .NET Framework, should I publish them in older or new version? Is there any criteria that I should look for? Thanks in advance!

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Fresh-Grass wrote:

        If my applications (mainly WinForms, C#) work in older versions of .NET Framework, should I publish them in older or new version? Is there any criteria that I should look for?

        Deploy them against the version you have tested on. Later versions may contain fixes/changes to behaviour that you rely on - the argument here is that you should really test on the latest version with Service Packs that you can.

        I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Onyx

        1 Reply Last reply
        0
        • F fdsfsa76f7sa6

          If my applications (mainly WinForms, C#) work in older versions of .NET Framework, should I publish them in older or new version? Is there any criteria that I should look for? Thanks in advance!

          T Offline
          T Offline
          The Man from U N C L E
          wrote on last edited by
          #4

          I had an issue recently in 2.0 that was fixed in service pack 1. I then found that 2.0 SP1 is bundled as part of 3.5 SP1 so if I was starting a new project I would not bother with anything lower than 3.5 SP1 If you want a widest potential audience for your application, it is probably best to stick to 2.0 however, as it is part of 3.0 and 3.5, and therefore will be on more machines than any other version. The only versions worth upgrading from, and it is an upgrade not just recompile, is from 1.0 and 1.1. Even Microsoft are not supporting them much these days.

          If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles]  [My Website]

          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