Namespaces over Multiple DLLs

Hi,

I have one namespace stretched over two DLLs. In my first DLL is a full implementation of a class, and my second DLL contains a soapsuds generated meta class of the same type.

When using both of these DLLs in a project, there is a namespace clash between the two. This could be solved my specifying the assemby of my class before the namespace, i.e:

<assembly>.<namespace>.<sub-namespace>.<classname>

Is this possible to do in .NET

Thanks.


Answer this question

Namespaces over Multiple DLLs

  • VirtualJuha

    Why do you need to reference both in the same project

    To answer your question, it's possible in C# 2.0 with extern alias.



  • Namespaces over Multiple DLLs