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

Problem when rebuilding solution with several projects - not all references are updated...

My Solution has three different projects: GUI, Api, Match.
Project GUI includes a reference to Match.dll and Project Match includes a
reference to Api.dll . Project Api doesn't include any references.
Technically, GUI calls on classes/methods in Match, and Match calls on
classes/methods in Api. Api doesn't include user-defined references.

With Configuration Manager in "Release" (and all the projects in Release as
well), when I rebuild the whole solution (after modifying all three of them)
and look in the ..\GUI\bin\Release folder (GUI is the startup project), I
noticed that the only files updated were GUI.exe and Match.dll . Api.DLL
remains with the dame date so it doesn't include the last changes. The only
way I can update Api.dll is by deleting the reference to it in Match.dll and
adding it again with the updated dll.

Why aren't all the references updated when I do a full solution build? Will
I have to delete/add Api.dll manually everytime I update it? I assumed the
Dll's in the startup project path were updated.

Thanks.

Amos
Nov 16 '05 #1
1 2068
I take it you are using Visual Studio. Make sure that when you add
references to the other projects, you select the Project tab in the Add
Referenece window. This way, VS will build the projects in the correct
order. If you just reference the assembly and not the project, VS may not
build the projects in the correct order, that is, it may choose to build GUI
first (using the previously build assemblies) and then build the other
assemblies next.

Also, if that doesn't work, try selecting "Rebuild Solution" from the Build
menu. I think this causes a complete rebuild.

"Amos" <am***@earthlink.net> wrote in message
news:ua**************@tk2msftngp13.phx.gbl...
My Solution has three different projects: GUI, Api, Match.
Project GUI includes a reference to Match.dll and Project Match includes a
reference to Api.dll . Project Api doesn't include any references.
Technically, GUI calls on classes/methods in Match, and Match calls on
classes/methods in Api. Api doesn't include user-defined references.

With Configuration Manager in "Release" (and all the projects in Release as well), when I rebuild the whole solution (after modifying all three of them) and look in the ..\GUI\bin\Release folder (GUI is the startup project), I
noticed that the only files updated were GUI.exe and Match.dll . Api.DLL
remains with the dame date so it doesn't include the last changes. The only way I can update Api.dll is by deleting the reference to it in Match.dll and adding it again with the updated dll.

Why aren't all the references updated when I do a full solution build? Will I have to delete/add Api.dll manually everytime I update it? I assumed the
Dll's in the startup project path were updated.

Thanks.

Amos

Nov 16 '05 #2

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

Similar topics

0
by: Andreas Suurkuusk | last post by:
Hi, I just noticed your post in the "C# memory problem: no end for our problem?" thread. In the post you implied that I do not how the garbage collector works and that I mislead people. Since...
1
by: Amos | last post by:
My Solution has three different projects: GUI, Api, Match. Project GUI includes a reference to Match.dll and Project Match includes a reference to Api.dll . Project Api doesn't include any...
15
by: Ken Allen | last post by:
I have been developing a suite of assemblies over the past couple of weeks, and this afternoon somethign started misbehaving. If I do not run the IDE and compiler the code from the command line,...
2
by: Joerg M. Colberg | last post by:
I have a VS.Net solution that contains various projects. Some of the projects contain programme blocks (legacy code) that are used by some of the other projects. One project contains some C code...
13
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that...
2
by: mkd1919 | last post by:
I'm developing a web service that will eventually be sent to other like organizations to communicate for a particular application. After a few weeks, I decided it would be better to split of the...
1
by: KJ | last post by:
Hello All, I am using integrated VSS source control with my solution (VS2005). It consists of a web site (source-controlled) and several class libs (all source-controlled). I can add references...
2
by: teixeira1985 | last post by:
Hi , Due an unknown cause VS2005 started to show an error when i switch from code to design in windows forms projects. I repaired the installation but the same happens. The error is: One or...
13
by: Rafe | last post by:
Hi, I am in a situation where I feel I am being forced to abandon a clean module structure in favor of a large single module. If anyone can save my sanity here I would be forever grateful. My...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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
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...

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.