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, Wi
The version of .NET framework could be a little different on each computer based on what software they have already installed.
A similar question was asked here on Stackoverflow and one of the responses that might be helpful might be ..... to take a look at this article.
http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx
Have a look at this similar question 'Is there a way to determine the .NET Framework version from the command line?' in which I posted an answer here. In that answer there is a link to the article on CodeProject that does exactly that...
I would like to point out, that Windows XP SP3 does NOT have .NET Framework 3.5 (Full profile) installed. I just found out and was scared :-0
As you're going to install .NET Framework with your application you may also find .NET Client Profile useful. It's a small version of framework that can be bundled with your distribution.
http://blogs.windowsclient.net/trickster92/archive/2008/05/21/introducing-the-net-framework-client-profile.aspx
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.