Solved

Can an older .NET program utilize a newer .NET Framework?

Posted on 2013-05-16
4
378 Views
Last Modified: 2013-06-17
I'm experimenting with an install of a product called the Pedestrian and Bicycle Crash Analysis Tool (PBCAT). PBCAT appears to be an older .NET WinForm product. I found some older literature that indicates that PBCAT v2.0 is based on .NET Framework 1.1. I was able to successfully install PBCAT on my laptop without an additional .NET Framework install despite the fact that I don't have .NET Framework 1.1 installed on my laptop. I do, however have versions 2.0, 3.5, and 4.0 installed. Is the PBCAT program able to utilize a newer version of the .NET Framework? In other words, do newer versions of .NET Framework contain all the elements of the older versions to allow for backward compatibility? Or, is the literature I'm reading simply old?

Here's a secondary question, is it possible to determine which version of the .NET Framework PBCAT is pulling from if I'm not the PBCAT developer?
0
Comment
Question by:jdana
  • 2
4 Comments
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 223 total points
ID: 39172441
In many - maybe most - cases, yes.  There were some syntactic changes between a few versions - some commands were deprecated or changed.  You may need to make some tweaks, but otherwise you're probably okay.
0
 
LVL 25

Accepted Solution

by:
Ron Malmstead earned 112 total points
ID: 39172483
When developing in .net, I notice I sometimes use deprecated functions/syntax, and Visual Studio will flag it as a "warning".  After compile, the program still works as expected... so my answer would be yes.  .net has backward compatibilty.   Usually when you install a .net program, you'll see system requirements.. such as .. ".Net version XX or later".

I think an exception would be, if a function is not only deprecated, but "removed" from a future release.. though I can't think of an example off the top of my head.
0
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 223 total points
ID: 39172689
I can't think of a removed command either, but I know they exist because I've run into them.
0
 

Author Closing Comment

by:jdana
ID: 39253248
Terrific answers, thanks to all three of you.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question