472,981 Members | 1,102 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,981 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 2050
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.