C# ASP.Net The type or namespace name 'iAnywhere' could not be found
        Posted  
        
            by Louis Russell
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Louis Russell
        
        
        
        Published on 2010-05-26T09:42:38Z
        Indexed on 
            2010/06/01
            7:53 UTC
        
        
        Read the original article
        Hit count: 363
        
Morning all,
I know that this sounds like a simple referencing problem from the title this is becoming a nightmare!
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:
Compiler Error Message: CS0246: The type or namespace name 'iAnywhere' could not be found (are you missing a using directive or an assembly reference?)
The line that the Error points to this line in the class:
using iAnywhere.Data.AsaClient;
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.
I have scoured Google looking for an answer and haven't found anything that points me to an answer to my problem.
Any help would be brilliant!
© Stack Overflow or respective owner