Thread: Question about .NET backwards compatibility

  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    34

    Question about .NET backwards compatibility

    Hey guys, I posted this on the microsoft forums and havn't got a reply that anwers my question so I thought I'd ask you all of you.

    I'm new to C# and the .NET framework. I recently decided to check it out because I heard about XNA and wanted to play with it. I was looking around for some things that were written in C#, games specifically and I came across Arena Wars. When I try to run it it tells me I need a 1.x version of the .NET framework, I have 2.0 installed. Does that mean that it's not backwards compatible and that end users will eventually need two or three different versions of the framework installed in order to reliably run programs written in C#?
    -gunder

    if (problem)
    postcount++;

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    So sad...
    Good that I'm not C# programmer

    You answered your own question...

  3. #3
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Yes and no. If there have been no breaking changes to any parts of the runtime that the application uses and the application has the proper configuration file, then the application can be made to run with later runtimes. Personally, I wouldn't place much stock in that, since there's no way to know what changes will be made in v3.0 or v4.0 when you're writing v2.0 code, so you can't know if there will be a breaking change.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  4. #4
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    .NET backwards is TEN. It's compatible with most people, since it seems to coincide with fingers, if your include your thumbs.

    Just thought I'd answer your question, since no one else did...


    Quzah.
    Hope is the first step on the road to disappointment.

  5. #5
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Quote Originally Posted by gunder
    When I try to run it it tells me I need a 1.x version of the .NET framework, I have 2.0 installed. Does that mean that it's not backwards compatible and that end users will eventually need two or three different versions of the framework installed in order to reliably run programs written in C#?
    Seems more that the program is checking for a specific version of .NET and not running if it doesn't find it. Sounds like more of a coder error - particularly with a dumb programmer. I had a Star Trek game once that had to be unofficially patched because the idiots explicitly checked for 8.1 - it therefore wouldn't run on 9.

    Edit: To better answer your question, I'd imagine each release of .NET supports the previous releases much like DirectX 9 supports previous DirectX features.
    Last edited by Frobozz; 09-15-2006 at 06:18 AM.

  6. #6
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Quote Originally Posted by Frobozz
    Edit: To better answer your question, I'd imagine each release of .NET supports the previous releases much like DirectX 9 supports previous DirectX features.
    Why are you imagining things? One quick google search will give you the real answer.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. .NET Windows Application Question
    By obaid in forum C# Programming
    Replies: 1
    Last Post: 04-29-2008, 10:32 PM
  2. Windows, MFC, .NET, C++ ???
    By alpha in forum Windows Programming
    Replies: 8
    Last Post: 08-07-2006, 02:31 PM
  3. MSVC++ .NET 2005 Express Question
    By cboard_member in forum Windows Programming
    Replies: 1
    Last Post: 12-08-2005, 08:04 AM
  4. VS .NET & XP Pro Question
    By hk_mp5kpdw in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-08-2003, 01:07 PM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM