Hi Lam,
Thank you for posting here.
As far as I know, .NET Framework 4.0 cannot be installed on Windows Server 2012. .NET Framework 4.5 is an in-place update that replaces .NET Framework 4. However, some article also mention that when .NET 4.5 is installed, some assemblies of .NET 4.0 will
be overwritten by new assemblies, which may lead to compatibility issues.
For reference, the following article explains these in detail: "Windows 8, Windows
Server 2012 blocks Framework 4.0 Downloaded Install".
Hope the above can help you.
Regards,
Yic
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.