标题是pretty的清晰。有什么不同的建筑/运行针对.NET 4的应用程序,如果你只安装.NET 4.0框架或.Net 4.5框架?
the title is pretty clear. Is there any difference building / running an application targeting .Net 4 if you have installed only .Net 4 Framework or .Net 4.5 Framework?
我的一位同事表示,即使该应用程序面向.NET 4安装4.5有差别,我不能确定。
A colleague of mine said that even if the application targets .Net 4 installing the 4.5 makes a difference and I'm unsure.
感谢。
NET 4.5是一个就地升级的.NET 4,所以即使你面向.NET 4中,您将使用.NET 4.5,请参阅http://www.hanselman.com/blog/NETVersioningAndMultiTargetingNET45IsAnInplaceUpgradeToNET40.aspx.
NET 4.5 is an "in-place upgrade" of .NET 4, so even if you target .Net 4 you will be using .NET 4.5, see http://www.hanselman.com/blog/NETVersioningAndMultiTargetingNET45IsAnInplaceUpgradeToNET40.aspx.
Summarising这个博客,也有.NET的,可以并排安装三个主要版本:
Summarising this blog, there are three major version of .NET that can be installed side by side:
在.NET 1(1.1) 在.NET 2(2/3 / 3.5) 在.NET 4(4 / 4.5)在未成年人的版本是就地升级
The "minor" versions are in place upgrades