.Net 1.0和2.0混合应用

发布于 2024-07-18 19:02:04 字数 128 浏览 5 评论 0原文

我有一个带有 dll 的 .Net 应用程序,其中一些是用 .Net 1.1 编译的,有些是用 2.0 编译的。 这样的应用程序是如何工作的——应用程序不是只有一个运行时吗? 如果是的话,是哪一个? 如果不是,对象如何在运行时之间传递?

I have a .Net app with dll's that some of them were compiled with .Net 1.1 and some with 2.0. How does such an application work - isn't there only one runtime for an application? If so which is it? If not how are objects being passed between the runtimes?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我不咬妳我踢妳 2024-07-25 19:02:04

您说得对,应用程序中只使用了一个运行时。 在您的情况下,整个应用程序需要使用 2.0 运行时:1.1 运行时无法理解 2.0 DLL,但 2.0 运行时确实了解 1.1 DLL。

You're right in saying that there's only one runtime used in the application. In your case, the whole application needs to use the 2.0 runtime: the 1.1 runtime can't understand 2.0 DLLs, but the 2.0 runtime does know about 1.1 DLLs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文