Which version of .net framework should we write programs?
almost every windows user hates very important but annoying system upstates, many of them have disabled system updates(someone don't have access to Internet). and what is better, force user to update dot net framework or just write program in older version of framework?
Hi, luka! How is university going?
Used .net long time ago. I don't know if it did become backward compatible meanwhile, but you wouldn't ask if it was ^^
At company, we used to add the required .net msi to the installing files to avoid versioning problems and ran the .net installation or update before updating our programs.
updating will give you access to more functionality and ease in programming that has been added with each updates.
writing the program in older version of the framework will give your program a larger range of compatible target devices support
Windows XP supports .Net 4.0. Since Vista all windows versions support 4.5 and higher. So, if you need capability with XP, use 4.0 Client Profile. I am recommending use it to support all actual platforms.
I use .NET Framework 4.0 for some applications and 4.5 for others. I think it's best to let windows updates your .NET framework so that your application/developmemt environment is always the latest and up to date, however, you may need to adjust application codes so that you are able to build your application. Hope that answered your question. Thanks.
The framework is for you to choose, and you choose it based on the features it provides against what features you need for the app you are developing. It is not always good to go for a current version framework when an older version fits your requirement. This approach helps as you will have to be thorough with your requirement too.