473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1225
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.