为什么无法在Windows Server 2012支持.NET框架4.0? [英] Why doesn't Windows Server 2012 support .NET framework 4.0?

查看:210
本文介绍了为什么无法在Windows Server 2012支持.NET框架4.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾试图用我的基于.NET框架4.0与Windows Server 2012的应用程序,但根据MSDN它不工作,并且服务器2012的.NET Framework 4.0不支持。这是为什么?我怎样才能解决这个问题没有我的应用程序转换为框架4.5?

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?

推荐答案

.Net4.5是一种更新.Net4.0的运行时用新的,当您安装.NET 4.5的.NET 4.0程序集在\ Windows.NET框架\ V4.0.30319将覆盖一组新的组件。你最终覆盖组件,以及一堆新的(如新System.Net.Http组件为例)。

.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).

请参阅以下文章:

<一个href="http://www.west-wind.com/weblog/posts/2012/Mar/13/NET-45-is-an-inplace-replacement-for-NET-40">.NET 4.5就地替代.NET 4.0

<一个href="http://blogs.msdn.com/b/dotnet/archive/2012/08/15/announcing-the-release-of-net-framework-4-5-rtm-product-and-source-$c$c.aspx">Announcing .NET框架4.5 RTM 发布

哪些新框架上的4.5

应用程序兼容性

Application Compatibility in the .NET Framework 4.5

的新增.NET框架4.5

Windows Server 2012中阻止框架4.0

<一个href="http://coolthingoftheday.blogspot.de/2012/03/net-45-is-what-to-net-40-replacement-or.html">http://coolthingoftheday.blogspot.de/2012/03/net-45-is-what-to-net-40-replacement-or.html

这篇关于为什么无法在Windows Server 2012支持.NET框架4.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆