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

Home Posts Topics Members FAQ

Keep loosing Project references from a solution....

I have 3 projects in the one solution..

every now and again i cant use any of the types from another project?

eg i have a solution with 3 projects in and the one namespace.... JR
web
dataacess
core

now in core i need to ref a type that is in dataacess
so i would want to add the following line to the top of a class in Core.

using JR.DataAccess

However wheni type JR and press the . i dont get intellisence for the next
namespace down?

anye ideas?
Nov 22 '05 #1
2 1265
You'll have to give the reference for the projects you want

in Core project add a project reference to DataAccess. It will compile the projects with dependencies and copies the required files to Core project's bin. Now you can refer the namespaces you want and use

HT
Sudhakar Sadasivun
Microsoft .NET MVP | MCA
http://weblogs.asp.net/ssadasivun
www.mugh.ne

----- Darren Clark wrote: ----

I have 3 projects in the one solution.

every now and again i cant use any of the types from another project

eg i have a solution with 3 projects in and the one namespace.... J
we
dataaces
cor

now in core i need to ref a type that is in dataaces
so i would want to add the following line to the top of a class in Core

using JR.DataAcces

However wheni type JR and press the . i dont get intellisence for the nex
namespace down

anye ideas

Nov 22 '05 #2
ta...

i found the problem... i added another reference to another class and then
removed the wrong one...

basically i confused myself....

ta

"Sudhakar Sadasivuni[MVP]" <an*******@discussions.microsoft.com> wrote in
message news:51**********************************@microsof t.com...
You'll have to give the reference for the projects you want.

in Core project add a project reference to DataAccess. It will compile the projects with dependencies and copies the required files to Core project's
bin. Now you can refer the namespaces you want and use.
HTH
Sudhakar Sadasivuni
Microsoft .NET MVP | MCAD
http://weblogs.asp.net/ssadasivuni
www.mugh.net

----- Darren Clark wrote: -----

I have 3 projects in the one solution..

every now and again i cant use any of the types from another project?

eg i have a solution with 3 projects in and the one namespace.... JR
web
dataacess
core

now in core i need to ref a type that is in dataacess
so i would want to add the following line to the top of a class in Core.
using JR.DataAccess

However wheni type JR and press the . i dont get intellisence for the next namespace down?

anye ideas?

Nov 22 '05 #3

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

Similar topics

2
267
by: Darren Clark | last post by:
I have 3 projects in the one solution.. every now and again i cant use any of the types from another project? eg i have a solution with 3 projects in and the one namespace.... JR web...
6
3079
by: Christopher Bohn | last post by:
(repost under MSDN account) When building a solution that consists of one managed C++ project with a project reference to a C# project in the same solution, there is a bug when trying to build...
2
1928
by: Simon | last post by:
If there is a different newsgroup for specific Visual Studio questions then please let me know - in the meantime perhaps I can post the question here: It seems that whenever I create new...
2
2411
by: Vish | last post by:
Hi all, I have a VS.NET (2005 BETA2) solution that has five winforms projects. Here are the details. Project-A (Main, startup project), references Project-B (class lib project) Project-B (Class...
1
1911
by: EO | last post by:
I am trying to use the MSFT data access application block on 3 machines. Machine 1: Sandbox environment; I installed the application block with the msi. The Sqlhelper class compiles & runs...
4
4019
by: jakk | last post by:
hello all, whats the Difference between bin and obj directories and difference between project references and dll references? thanks jack
0
1775
by: Adam J. Schaff | last post by:
Hello all. I am part of a team about to start work on a large enterprise application. There will be a main application and a bunch of smaller applications that are all related and use the same...
3
2174
by: Jerad Rose | last post by:
This is regarding Visual Studio 2003 (framework 1.1). We have several projects/libraries. Of course, many of these reference each other. If we only had one solution, we would simply add all of...
3
2098
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our...
6
9114
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
0
7132
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
7180
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
6846
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
7341
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4870
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
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1381
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
266
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.