473,385 Members | 1,838 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,385 software developers and data experts.

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 1264
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
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
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
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
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
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
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
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
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
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
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
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.