How to include the a User-Defined namespace (C#) defined in one project into the code of anopther project in VS 2003
Posted on 2006-03-25
I'm working in a ASP. NET web application that includes many different projects (using VS 2003). As in VS 2003, each project is defined as a namespace.
Assumed that there is a project, i.e. a namespace, named NSPACE_1 in which I deifned a public class, named PCLASS_1_NS1, that in turn has a public method, named PMETHOD_1.
There is another project, i.e. namespce, named NSPACE_2. In one of the class of this namespace, there is a method where the code needs to call the above public method PMETHOD_1.
I don't know how to include the NSPACE_1 in the code so that the public methods of this namespace is introduced to the NSPACE_2. I've tried some way like "using NSPACE_1" at the top of .cs file of the web form but the compiler complains about this.
If you've some idea about this, please help.
Thank you very much,