Do .Net components that were compiled against the .Net Framework 3.5 run on a system that has only .Net Framework 4.0 installed?
Or in other words, does the .Net Framework 4.0 Installer include the .Net Framework 3.5?
Yes. You can install and run multiple versions of the . NET Framework on a computer. You can install the versions in any order.
NET Framework 4.5 and later versions are backward-compatible with apps that were built with earlier versions of the . NET Framework. In other words, apps and components built with previous versions will work without modification on the . NET Framework 4.5 and later versions.
It is essential for users to install and enable . NET 3.5 in their Windows system. To determine whether . NET 3.5 Framework is installed, users can check the path:C:\Windows\Microsoft.NET\Framework64 to see whether they can find the folder v3.
NET Framework 4.5 is default and . NET Framework 3.5 is optional.
The .NET 4.0 installer doesn't include the .NET framework 3.5. There is some information on this topic in MSDN:
The .NET Framework 4 is highly compatible with applications that are built with earlier .NET Framework versions, except for some changes that were made to improve security, standards compliance, correctness, reliability, and performance.
The .NET Framework 4 does not automatically use its version of the common language runtime to run applications that are built with earlier versions of the .NET Framework. To run older applications with .NET Framework 4, you must compile your application with the target .NET Framework version specified in the properties for your project in Visual Studio, or you can specify the supported runtime with the
<supportedRuntime>
Element in an application configuration file.
You can install .NET 3.5 and .NET 4.0 along side each other. Visual Studio 2010 also includes improved targetting support for .NET 3.5. ScottGu's blog talks about this in more detail.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With