Cross assemby namespace sharing issue

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

I am building a large enterprise application and which to
implement a nested namespace hierarchy across the
application. My problem is that when I declare an
assembly "MyApp.DataTypes" in one assemby and then
another "MyApp.GUITypes" in another I cannot access types
in the "...DataTypes" namespace from the Assembly
containing the "...GUITypes" namespace. The documentation
suggests this should be possible. Do I need to use
aliases.

Andy
 
application. My problem is that when I declare an
assembly "MyApp.DataTypes" in one assemby and then
another "MyApp.GUITypes" in another I cannot access types
in the "...DataTypes" namespace from the Assembly
containing the "...GUITypes" namespace. The documentation

Make sure that you are referencing the assembly's dll with the DataType and
also try using an Imports statement at the top of the GUITypes file:

Imports MyApp.DataTypes

HTH
 
Back
Top