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. C#/.NET Versioning

C#/.NET Versioning

Scheduled Pinned Locked Moved C#
csharpquestiondotnetvisual-studiohelp
3 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
    DougW48
    wrote on last edited by
    #1

    Sorry, this would probably be better asked in the .NET Framework forum, but I get better responses in this one. My C# application, compiled with VS.NET 2002 Pro, which uses the .NET Framework version 1.0.xxx, runs perfectly on a machine with the .NET Framework version 1.0.xxx. However, when this program is required to run under a more recent version of the .NET Framework, I notice different functionality in certain areas of the application. The code simply cannot be anymore straightforward, it works on the same .NET version I compiled it under. My question is, if I compile this same code with VS.NET 2003, or even 2005, will the application run PROPERLY when it is running under 1.1.xxx or newer? Could there be another cause...like I said before, it runs perfect under the older version of the .NET Framework, but not so much under more recent versions. I'd appreciate the help on this...

    J H 2 Replies Last reply
    0
    • D DougW48

      Sorry, this would probably be better asked in the .NET Framework forum, but I get better responses in this one. My C# application, compiled with VS.NET 2002 Pro, which uses the .NET Framework version 1.0.xxx, runs perfectly on a machine with the .NET Framework version 1.0.xxx. However, when this program is required to run under a more recent version of the .NET Framework, I notice different functionality in certain areas of the application. The code simply cannot be anymore straightforward, it works on the same .NET version I compiled it under. My question is, if I compile this same code with VS.NET 2003, or even 2005, will the application run PROPERLY when it is running under 1.1.xxx or newer? Could there be another cause...like I said before, it runs perfect under the older version of the .NET Framework, but not so much under more recent versions. I'd appreciate the help on this...

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      .NET versions can be installed side-by-side; if you want to use the 1.0.xxx version, specify this in the configuration file for your assembly. Search MSDN if you need an example. .NET 1.1 breaks a few 1.0 things, mostly security and remoting stuff though. If your code is as simple as you say, post some code that works differently on 1.1. Judah Himango

      1 Reply Last reply
      0
      • D DougW48

        Sorry, this would probably be better asked in the .NET Framework forum, but I get better responses in this one. My C# application, compiled with VS.NET 2002 Pro, which uses the .NET Framework version 1.0.xxx, runs perfectly on a machine with the .NET Framework version 1.0.xxx. However, when this program is required to run under a more recent version of the .NET Framework, I notice different functionality in certain areas of the application. The code simply cannot be anymore straightforward, it works on the same .NET version I compiled it under. My question is, if I compile this same code with VS.NET 2003, or even 2005, will the application run PROPERLY when it is running under 1.1.xxx or newer? Could there be another cause...like I said before, it runs perfect under the older version of the .NET Framework, but not so much under more recent versions. I'd appreciate the help on this...

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        Extending on what Judah said, look-up the <supportedRuntime> configuration element. It's only supported in .NET 1.1 and newer, since anything targeting the 1.0 framework doesn't really have a choice for backward compatibility. There's also a lot of information about side-by-side execution in the "Programming Topics" section in the .NET Framework SDK I encourage you to read. I'd give you a link, but unfortunately I'm having connection problems to certain servers. Go figure. It's not hard finding anyway.

        Software Design Engineer Developer Division Sustained Engineering, Microsoft My Articles

        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