What version of the .NET framework is installed on Windows XP, Vista, and 7?

Mohit Deshpande picture Mohit Deshpande · Mar 13, 2010 · Viewed 51.7k times · Source

I have an application that uses the .NET framework 3.5. I am building this application for a college to help students to study. Most students usually have Windows XP SP2, Windows Vista, or Windows 7. (Sorry Mac users! The Mac version will come out in about 6 months) What version of the .NET framework is installed on Windows XP, Vista, and 7; and will my application run on all of those platforms?

Answer

Oded picture Oded · Mar 13, 2010

From Wikipedia and MSDN:

.NET Framework 1.1: Windows Server 2003
.NET Framework 2.0: Windows Server 2003 R2
.NET Framework 3.0: Windows Vista, Windows Server 2008
.NET Framework 3.5: Windows 7, Windows Server 2008 R2
.NET Framework 4.0: n/a
.NET Framework 4.5: Windows 8, Windows Server 2012
.NET Framework 4.5.1: Windows 8.1, Windows Server 2012 R2
.NET Framework 4.5.2: n/a
.NET Framework 4.6: Windows 10
.NET Framework 4.6.1: Windows 10 v1511
.NET Framework 4.6.2: Windows 10 v1607, Windows Server 2016

.NET Compact Framework 1.0 (SP2): Windows Mobile 5.0
.NET Compact Framework 2.0: Windows Mobile 6.0 

From other SO questions:

If you want to be certain that you application runs on all of these, you will have to install the framework yourself - use SmallestDotNet.com for this.