Click to See Complete Forum and Search --> : framework versions


FoodBard
June 5th, 2005, 10:00 AM
if the user doesn't have the right framework version, what will happen when they try to run your program?

Andreas Masur
June 5th, 2005, 02:33 PM
Most-likely it won't run...however...it kind of depends which techniques you are using...an application using the framework 1.0 should also work with 1.1. The other way round depends what kind of features the application is using...is they are only avaliable in the newer framework then the application won't work...

FoodBard
June 5th, 2005, 07:19 PM
Will the user know they need a newer framework, or will it just crash horribly?
:eek:

MadHatter
June 5th, 2005, 08:21 PM
usually version detection is a great thing to add to your installer--and if you dont use an installer, you can check for the path: %windir%\Microsoft.NET\Framework\v#.#.#.# from what ever tool you use to deploy. also the runtime version (if you can get that far) is available in the Environment.Version property.

you can add requiredRuntime / supportedRuntime info in your appconfig to ensure you access the right runtime. for more info on that check out gotdotnet.com (http://www.gotdotnet.com/team/changeinfo/default.aspx)