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

不羁岁月 提交于 2019-11-26 21:53:39

问题


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?


回答1:


.Net4.5 is kind of updating the runtime of .Net4.0 with the new one, when you install .NET 4.5 your .NET 4.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



来源:https://stackoverflow.com/questions/14684541/why-doesnt-windows-server-2012-support-net-framework-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!