473,403 Members | 2,323 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,403 software developers and data experts.

Dependant Projects and DLLs not updating

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
Nov 21 '05 #1
1 1503
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/de...References.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

"ScottL" <sl*********@msn.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP10.phx.gbl...
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

Nov 21 '05 #2

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

Similar topics

12
by: Visual Boodu .NET | last post by:
Is there any way I can prevent people using my DLLs in their programs? I mean, I'm new to making DLLs and I'm guessing that if I can reference my DLLs in my projects then there is nothing stopping...
2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
16
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms....
2
by: Samuel L Matzen | last post by:
Hi, I am trying to develop with multiple projects in a single solution. The many of these projects create .dlls that are used by other projects. When I reference a .dll I reference it in the...
4
by: Oenone | last post by:
Another VB6 feature that I'm missing in VB.NET is with regard to referencing projects vs. referencing DLLs. In VB6 I can reference my support library, Support.dll, and call its functions. If...
0
by: TrtnJohn | last post by:
I have a Windows Application that has been ported from VB6 to VB.NET using VS 2003. The code conversion was painful but almost complete. But, now I am having trouble because the original...
1
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project...
6
by: JS | last post by:
I have two C# libraries and a managed C++ library which depends on the C# libraries. I have several applications which reference all of these libraries. Whenever I change from one application to...
2
by: Jeff Dege | last post by:
I'm working with a group that's been doing C++ coding for quite a long time, now, and in that environment we've pretty much worked out development practices that serve us well. We've been doing...
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...
0
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...
0
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...

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.