Dependant Projects and DLLs not updating

S

ScottL

Hello,

I have a asp.net Visual Basic web solution with 3 projects: A user interface
project (ProjectUI), a Business Object Layer project (ProjectBOL) and a Data
Access Layer Project (ProjectDAL). ProjectUI is dependant on ProjectBOL and
ProjectBOL is dependant on ProjectDAL. My references are, ProjectUI
references ProjectBOL references ProjectDAL. The build order is
ProjectDAL --> ProjectBOL --> ProjectUI. Everything is compiling fine and
the app is executing appropriately. My problem is when I make a change in
ProjectDAL it is not being compiled into the ProjectDAL.dll that is
contained in the ProjectBOL. It appears as though the BOL is referencing the
DAL dll that was compiled prior to the change being made. I can make it work
by removing/re-adding references, manually deleting dlls and rebuilding but
it will not happen automatically.

If anyone can point me in the right direction I would greatly appreciate it.
Also, if I am carrying the n-tiered thing too far can you provide some
guidance as to the best approach for this design.

Thanks a bunch!

Scott Landers
 
C

Carlos J. Quintero [.NET MVP]

Hi Scott,

Are you using project-references or dll-references? It should work with
project references.

Is the Local Copy property of the references set to true?

Take a look:
http://msdn.microsoft.com/library/d...on/html/vbtskWorkingWithProjectReferences.asp

Your n-tier design is correct.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
S

ScottL

Thanks You!
This was a classsic brain fart. Yes, they were dll references and not
project references. All is working now.

Thanks Again!
Scott Landers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top