linqpad 4.31 ...尝试删除重复的引用之一
我可以在左侧面板上看到我的实体,可以看到与它们相关的所有内容作为列以及与其他实体的关系。 当尝试选择要采取的实体(50)时,我收到此错误
具有相同标识“System,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089”的程序集已被导入。尝试删除重复的引用之一。
不知道从哪里开始解决这个错误...有什么帮助吗?谢谢
(如果我右键单击 linqpad 编辑器进入“查询属性”,则两个选项卡上没有任何内容)
I can see my entities on the left panel, can see all related to them as columns and relations to other entities.
when try to select then entity to take(50) I get this error
An assembly with the same identity 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Try removing one of the duplicate references.
got no clue where to start on this error...any help? thanks
(if I right click on linqpad editor to go into Query properties the two tabs have nothing on them)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我以前见过这个,它表明我添加了对我自己的使用 .NET 3.5 Framework 构建的库的引用,并通过在 LINQPad 4.0 中引用它们来使用它们。
如果要添加对库的引用,则应使用 LINQPad 3.5 版本。实际上,我已将两者安装到两个不同的子目录中,并在桌面/快速启动栏上有一个“链接”。
也许您正在使用的查询(如果您基于较早的查询)是使用不同版本的 LINQPad 创建的。
I have seen this before and it was indicative of me adding references to my own libraries which were built with the .NET 3.5 Framework and using them by referencing them in LINQPad 4.0.
If you are adding reference to your libraries, you should use version 3.5 of LINQPad. I actually have both installed into two different sub-directories with a 'link' to either on my desktop/quick-launch bar.
Perhaps the query that you are using (if you based it on an earlier one) was created with a different version of LINQPad.