473,473 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cross assemby namespace sharing issue

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
Jul 21 '05 #1
1 1229
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.
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: rollasoc | last post by:
Hi, Doing a bit of system testing on a Windows 98 laptop. (.Net 1.1 app). Did a bit of testing. Loaded a previously saved file. A gray box appeared with the text and buttons all white...
1
by: SS | last post by:
I have a webApp say A,It refernces a dll say B.From B is it possible to get the Assembly name (A).ie..is it possible to get the Assemby name A from B...please help
24
by: Tiraman | last post by:
Hi, I Build my own dll with my own namespace name and i would like to put it in one place but for the project bin folder so all of the projects will be able to use it . i tried to put the dll...
1
by: Andy | last post by:
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...
0
by: Daniel P. | last post by:
http://danutp.blogspot.com/ Web Services - sharing data between client and server Dealing a lot with web services a friend of mine (Ehsan Samani) and I ran into another issue: when we move...
2
by: Layton | last post by:
Hi, CPP gurus, How to use friend function cross the namespace? I have the following sample code with operator << overloaded, it's working. The problem the operator << function can't access...
2
by: Oriane | last post by:
Hi there, I'm involved in a quite big project in C#/NET 2.0, with at least 50 VStudio 2005 projects.We don't use the GAC, and we tackling with all the DLL references is messy. We often don't...
16
by: xman | last post by:
I defined namespace hpc in main.cpp, so not to clash with other libraries. But I found that, in namespace boo, instantiating a template with a class in namespace hpc, causes compilation errors by...
9
by: PetrH | last post by:
The problem I have is basically the same as 'greentype' mentions at <Link Removed> I'm sharing variables through namespaces and a problem arises when I try to put my function definitions into a...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.