C#ASP.Net找不到类型或命名空间名称“iAnywhere” [英] C# ASP.Net The type or namespace name 'iAnywhere' could not be found

查看:240
本文介绍了C#ASP.Net找不到类型或命名空间名称“iAnywhere”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上午全部

我知道这听起来像一个简单的引用问题,这个标题变成了一个噩梦!

I know that this sounds like a simple referencing problem from the title this is becoming a nightmare!

我有一个使用iAnywhere.Data.AsaClient.dll的代码类。这个Dll在项目中被引用,在代码类中我已经在使用部分添加了这个dll。

I have a code class that uses the "iAnywhere.Data.AsaClient.dll". This Dll is referenced in the project and in the code class I have added this dll in the Using section.

一切似乎很好,在构建时没有任何错误,但是当我去运行应用程序,它出现以下编译错误:

Everything seems fine at build with no errors at all but when I go to run the application it comes up with the following Compilation Error:


编译器错误消息:CS0246:类型或命名空间名称iAnywhere无法找到(您是否缺少using指令或程序集引用?)

Compiler Error Message: CS0246: The type or namespace name 'iAnywhere' could not be found (are you missing a using directive or an assembly reference?)

错误指向此行的行类:

using iAnywhere.Data.AsaClient;

我已经设置dll复制本地,没有什么区别,Dll安装在我的电脑上所以在GAC中,我使用这个Dll与许多其他C#项目,没有任何问题。

I have set the dll to copy local and it makes no difference, the Dll is installed on my PC so is in the GAC, I use this Dll with many other C# projects and have no problems.

我已经淘汰了Google寻找答案,没有发现任何点我的答案我的问题。

I have scoured Google looking for an answer and haven't found anything that points me to an answer to my problem.

任何帮助将是辉煌!

推荐答案

由于同事试图添加附加功能,并且显然非常失败,所有这些都出错了!

This has all been going wrong because a colleague was attempting to add in additional functionality and was clearly very unsuccessful!

在恢复其更改后,它正在工作完美的。

Upon reverting his changes it is now working perfectly.

这篇关于C#ASP.Net找不到类型或命名空间名称“iAnywhere”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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