Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What version of the .NET framework should I target?

I'm a desktop C# developer (that is not ASP) and am wondering about version targeting for small personal projects. These are, of course, trying to reach as wide an audience as possible, and so I've been targeting .NET 3.0 (which is the latest version on a Windows Vista system without any service packs) and 2.0 (which is simply the most compatible version compatible with VS2008).

Unfortunately, this precludes me from learning any technologies such as LINQ introduced post 3.0, and, with an upcoming switch to VS2010, I'm wondering if I should target the new 4.0 platform at the expense of uses without the latest and greatest, or should I just stick to trying to reach as wide a userbase as possible?

like image 617
MiffTheFox Avatar asked Apr 20 '10 00:04

MiffTheFox


People also ask

Which version of .NET Framework should I use?

You need whatever versions of . Net Framework are required by the applications you have and want to run properly. Usually, the required version will be included in the application's installer. If you are not experiencing any problems running applications, then you don't need to install any .

Is .NET 4.8 the last?

I read this morning in Code Magazine that Microsoft announced at Build 2019 there will be no more new feature development for the full . NET Framework, and that . NET 4.8 would be the final version with only updates for security patches and bug fixes.

Which NET Framework is best for Windows 10?

NET Framework 4.6. 2 is the latest supported . NET Framework version on Windows 10 1507 and 1511.

What does target .NET Framework mean?

. NET is backward-compatible, this means if you select . NET Framework 2.0 as target framework, it will run on installed version 2.0, 3.0, 3.5 and 4.0. But if you select e.g version 4.0 as target framework, it will only run if you have version 4.0 installed.


1 Answers

I would recommend moving to the .Net 4.0 Client Profile.

Although it doesn't have a large install base yet, it's a small download that your users can easily install.

If you don't want your users to need to download the framework, you should target 3.5, which most people already have.

like image 169
SLaks Avatar answered Sep 18 '22 09:09

SLaks