缺少using指令或程序集引用?

编程入门 行业动态 更新时间:2024-10-14 16:26:39
本文介绍了缺少using指令或程序集引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在项目中包含一个表单(Procedure)(Patient_Management_System<)。 这个表单已经在另一个同名中生成Project(Patient_Management_System) 所以当我运行它时错误是..........

I include a form (Procedure) in project(Patient_Management_System<). This form already made in another Same name Project(Patient_Management_System) So When I run It Error is..........

Error 1 The type or namespace name 'hospitalDataSet30' could not be found (are you missing a using directive or an assembly reference?) D:\project_duplicate3\Win_login\PROCEDURE.designer.cs 1200 17 Patient_Management_System

推荐答案

从文档中,找出可以找到缺失符号的程序集,并在项目中引用此程序集。另外,找出您尝试使用的类型的完全限定名称并将其完整写入。 (可选)使用带有完整类型名称的别名添加,或者使用为整个程序集名称添加 。 请参阅: msdn.microsoft/en-us/library/sf0df423.aspx [ ^ ], msdn.microsoft/en-us/library/hk5f40ct%28v=vs.90%29.aspx [ ^ ]。br />
-SA
From documentation, find out in which assembly the missing symbol can be found and reference this assembly in your project. Also, find out a fully-qualified name of the type you are trying to use and write it in full. Optionally, add a using alias with the full type name, or, another option, add using for the whole assembly name. Please see: msdn.microsoft/en-us/library/sf0df423.aspx[^], msdn.microsoft/en-us/library/hk5f40ct%28v=vs.90%29.aspx[^].
—SA

更多推荐

缺少using指令或程序集引用?

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

发布评论

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

>www.elefans.com

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