缺少using指令或程序集引用? [英] missing a using directive or an assembly reference?

查看:87
本文介绍了缺少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

推荐答案

从文档中,找出可以找到缺失符号的程序集,并在项目中引用此程序集。另外,找出您尝试使用的类型的完全限定名称并将其完整写入。 (可选)使用带有完整类型名称的别名添加,或者使用为整个程序集名称添加



请参阅:

http://msdn.microsoft.com/en-us/library/sf0df423.aspx [ ^ ],

http://msdn.microsoft.com/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:
http://msdn.microsoft.com/en-us/library/sf0df423.aspx[^],
http://msdn.microsoft.com/en-us/library/hk5f40ct%28v=vs.90%29.aspx[^].

—SA


这篇关于缺少using指令或程序集引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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