Question .Net Targetting?

tyremt

Member
Joined
Apr 15, 2010
Messages
10
Programming Experience
Beginner
Hi all,

When creating a winforms app, you can choose your .Net version from those available to you.

How does a users installed framework handle versions that the compiled app requires. I.e.

1) If I created an app using .Net 3.5 or 4.0 and the user had 2.0 installed, how would the installer handle this? Is it intelligent enough to detetc the users got 2.0 and prompts them to upgrade to the required version then exit, or does it install then the app just crash when libraries are missing?

2) If I created an app using .Net 2.0 or 3.5 and the user had 4.0 installed, does .Net have backwards compatibility to support the previous frameworks or in a sentence do you have to ensure your app is developed for their exact .Net version and its your apps responsibility to do a check to determine the users .Net version & alert them if it differs?

Quite a fundamental questionreally, but new to winforms as I come from a asp.net background, where things are a little different :)

;)
 
Back
Top