PC Review


Reply
Thread Tools Rate Thread

Cross assemby namespace sharing issue

 
 
Andy
Guest
Posts: n/a
 
      15th Dec 2003
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
 
Reply With Quote
 
 
 
 
Chris Dunaway
Guest
Posts: n/a
 
      15th Dec 2003
On Mon, 15 Dec 2003 08:47:36 -0800, Andy wrote:

> 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

--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML Namespace issue SeanInSeattle Microsoft C# .NET 1 27th Oct 2008 06:21 PM
NameSpace Issue VS 2005 thomson Microsoft ASP .NET 0 6th Aug 2007 12:25 PM
namespace issue (very odd) mazdotnet Microsoft ASP .NET 0 14th Jun 2006 06:22 PM
Namespace issue Robert Warnestam Microsoft C# .NET 6 30th Dec 2004 04:45 PM
Namespace Compile Issue =?Utf-8?B?QnJpYW4=?= Microsoft Dot NET 2 29th Sep 2004 02:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:45 AM.