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