Keep loosing Project references from a solution....

  • Thread starter Thread starter Darren Clark
  • Start date Start date
D

Darren Clark

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?
 
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
 
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 said:
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.
 
Back
Top