newbie Namespaces question

S

Shane Story

We have a solution as follows

PROJ1 (WINSERVICE)
PROJ2 (SVC MGR)
PROJ3 (CLASS LIB) --DLL OF COMMON THINGS

We want to have namespaces such that we can say

Imports OurCompanyName.Something

We set the root name spaces of each of these projects to our company name.

Then we put

NameSpace Something
End NameSpace

in the module and class files.

After reloading we were able to add a reference in the service to the DLL
and then do the imports.

However, although the class modules show up,

none of the stand module code--although public methods--are found.


Any ideas?

Thanks,

Shane
 
H

Herfried K. Wagner [MVP]

Shane Story said:
[Reference to other assembly]

none of the stand module code--although public methods--are found.

Make sure the module's modifier is set to 'Public'. If it's omitted, the
default modifier 'Friend' is used and as a consequence the module is not
visible to other assemblies.
 
S

Shane Story

Thanks

Herfried K. Wagner said:
Shane Story said:
[Reference to other assembly]

none of the stand module code--although public methods--are found.

Make sure the module's modifier is set to 'Public'. If it's omitted, the
default modifier 'Friend' is used and as a consequence the module is not
visible to other assemblies.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top