[.NET].NET 4.0 VS .NET 4.5

[.NET].NET 4.0 VS .NET 4.5


最近同事问我说,为何加入.NET 4.5的DLL,组件的版本都还是4.0。如下,

image

看了一下.NET Versioning and Multi-Targeting - .NET 4.5 is an in-place upgrade to .NET 4.0 ,原是.NET 4.5是使用就地升级的方式。

所以,下次看到了这种情况,别以为是没有装好哦!

另外,因为是In-Place的方式,如果您将.NET 4.5移除后,您需要重装.NET 4.0哦!

参考资讯:

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

.NET Versioning and Multi-Targeting - .NET 4.5 is an in-place upgrade to .NET 4.0

How to detect at runtime that .NET version 4.5 currently running your code?

How to remove Dotnet Framework 4.5 Beta