该类型<&型GT;存在于两个的DLL

编程入门 行业动态 更新时间:2024-10-27 20:31:08
本文介绍了该类型<&型GT;存在于两个的DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有1 DLL中的.Net 3.5框架,另一个在2.0。该 ListBoxItem的类存在于2.0和我在3.5 DLL在同一个命名空间链接的类。

I have 1 DLL in the .Net 3.5 framework and another in 2.0. The ListBoxItem class exists in 2.0 and I have linked the class in the 3.5 DLL in the same namespace.

当我尝试编译我得到一个存在于两个错误。我怎么可以编译,并保持相同的结构。

When I try to compile I get an "exists in both" error. How can I compile this and maintain the same structure.

我不想引用的DLL 2.0至3.5,以消除这个问题,我想保持这些DLL中分离出来。

I don't want reference the 2.0 DLL to 3.5 to eliminate this problem, I want keep these DLLs separate.

推荐答案

这似乎不是一个好主意,不管是什么,但改变了命名空间和完全限定的用途。

This doesn't seem like a good idea no matter what, but change the namespaces and fully qualify your usages.

否则,你为什么不只是引用一个DLL?

Otherwise, why don't you just reference one dll?

更多推荐

该类型<&型GT;存在于两个的DLL

本文发布于:2023-11-04 10:05:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1557634.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:两个   类型   GT   lt   DLL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!