简体   繁体   中英

Why doesn't Windows Server 2012 support .NET framework 4.0?

I had tried to use my application built on .NET framework 4.0 with Windows Server 2012 but it's not working and according to MSDN, Server 2012 is not supported by .NET Framework 4.0. Why is that? How can I overcome this issue without converting my application to Framework 4.5?

.NET v4.5 is kind of updating the runtime of .NET v4.0 with the new one, when you install .NET v4.5 your .NET v4.0 assemblies in the \\Windows\\.NET Framework\\V4.0.30319 are overwritten with a new set of assemblies. You end up with overwritten assemblies as well as a bunch of new ones (like the new System.Net.Http assemblies for example).

See these articles:

.NET 4.5 is an in-place replacement for .NET 4.0

Announcing the release of .NET Framework 4.5 RTM

Whats new on .Net framework 4.5

Application Compatibility in the .NET Framework 4.5

What's New in .NET Framework 4.5

Windows Server 2012 blocks Framework 4.0

http://coolthingoftheday.blogspot.de/2012/03/net-45-is-what-to-net-40-replacement-or.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM