• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

c# namespace error

i have working c# module.  i was given a VB dll to add to my Project References.  I need to call some function from this DLL.

but i get an error:

Error      1      A using namespace directive can only be applied to namespaces; 'GCTLibrary.GCTInternal' is a type not a namespace

how can resolve this reference error?
0
NJJoeG8GT
Asked:
NJJoeG8GT
2 Solutions
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
can you show the line?
I presume you put:
using GCTLibrary.GCTInternal;

and it should only be:
using GCTLibrary;
0
 
jonnidipCommented:
I would suggest you to take a look at the .dll content by using a .net decompiler like this: http://www.jetbrains.com/decompiler/.
You may easily find the correct namespace inside the dll.

Regards.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now