找不到Imports Utilities.FTP [英] cannot locate Imports Utilities.FTP

查看:70
本文介绍了找不到Imports Utilities.FTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何在项目中包含Utilities.FTP.


导入实用程序.FTP在下面给我一个警告.

导入"Utilities.FTP"中指定的命名空间或类型不包含任何公共成员,或者找不到.
确保定义了名称空间或类型,并且至少包含一个公共成员.
确保导入的元素名称不使用任何别名.

Utilities.FTP是一个类.

由Howard Richards先生从此处获得代码.

Hi,

How can i Include Utilities.FTP in project.


Imports utilities.FTP gives me a warning below.

Namespace or type specified in the Imports ''Utilities.FTP'' doesn''t contain any public member or cannot be found.
Make sure the namespace or the type is defined and contains at least one public member.
Make sure the imported element name doesn''t use any aliases.

Utilities.FTP is a Class.

Got the codes from here by Mr.Howard Richards

推荐答案

如果Utilities.FTP是该类的全名,则需要按原样使用其全名,和"import Utilities.FTP"将是错误的,因为您需要编写"Import Utilities".但是,我怀疑"Utilitied.FTP"不是类而是名称空间,正如我从Google搜索中看到的那样.在这种情况下,您实际上可以在此命名空间中使用"import Utilities.FTP"和某些类型.那么,可能出什么问题了?检查是否引用了程序集本身("FTPClient.DLL"?).

—SA
If Utilities.FTP was a full name of the class, you would need to use its full name as is, and "import Utilities.FTP" would be wrong, as you would need to write "Import Utilities". However, I suspect "Utilitied.FTP" is not a class but a namespace, as I can see from Google search. In this case, you would really could use "import Utilities.FTP" and some type(s) in this namespace. So, what could be wrong? Check up if you have referenced the assembly itself ("FTPClient.DLL"?).

—SA


这篇关于找不到Imports Utilities.FTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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