健全性检查.NET框架 [英] Sanity check .NET framework

查看:71
本文介绍了健全性检查.NET框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

根据msdn网站,.NET版本4向下兼容到2.0.有什么需要注意的地方,或者是第4版的安装?

我需要将应用程序编译到.NET 4,然后将其复制到包含使用较低版本应用程序的系统.


非常感谢.

Hello,

According to the msdn site .NET version 4 is downward compatable to 2.0. Are there any caveats to that, or the version 4 installation?

I need to compile an application to .NET 4, and copy it to a system with applications that use lower versions.


Thanks much.

推荐答案

您在这里有一个误解. .NET 4.0向后或向下与.NET 2.0兼容,这意味着您将能够运行程序或使用在.NET 4.0框架上从2.0向上版本使用旧版.NET创建的库. 反之亦然.用.NET 4.0编译的程序或库永远无法与较旧的.NET版本一起使用.

问候,

曼弗雷德(Manfred)
You have a misunderstanding here. .NET 4.0 being backward or downward compatpible to .NET 2.0 means you will be able to run programs or use libraries that were created with an older version of .NET from 2.0 upwards on the .NET 4.0 framework.
The other way round can''t possibly work. A program or a library that were compiled with .NET 4.0 will never work with older .NET versions.

Regards,

Manfred


这篇关于健全性检查.NET框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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