473,387 Members | 1,834 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,387 software developers and data experts.

Solution problem : Project *always* out of date

Sin
I have a solution in which I have 4 projects.

P1 is a EXE project (dependencies : P2 and P4)
P2 is a DLL project (dependencies : P4)
P3 is a DLL project (dependencies : P2)
P4 is a DLL project (dependencies : None)

All of these projects are plain unmanaged win32, no COM, no ATL, no MFC,
etc.

For some reason, even though I've just rebuild ALL of these projects using a
Batch build or Solution rebuild, P4 is ALWAYS out of date when I start
debugging P1. If I answer yes to rebuild it, it only links P4 and proceeds
to debug P1...

It does it in debug AND release and I've cleaned both associated folders by
hand to insure nothing was left in there. Problem is still there.

Any ideas?

BTW: P3 is not used by any of the other projects. P3 is a DLL written for a
VB6 application which obviously isn't part of the solution. P1 connects to
the VB6 project through TCP.

Thanks,

--
Alex.
Nov 16 '05 #1
1 2742
I am experiencing something similar. I have a MFC based
project that is permanently out of date even immediately
after it has just been rebuilt.

I have traced the cause to the resource .rc file. In the
BuildLog.htm there is an error message that is not shown
in the IDE debug output window (bug?):-

"Commands : warning PRJ0041 : Cannot find missing
dependency 'std\std.h' for file 'Commands.rc'. Your
project may still build, but may continue to appear out of
date until this file is found."

The .rc file does include the 'std\std.h' header file (via
the 'Resource Includes...' dialog) which is defined in the
parallel project 'std'. The VC++ include path is set up to
contain ".." to pickup such header files and the project
builds perfectly OK including the resources using the RC
resource compiler. The problem seems to be that the IDE's
dependency checking is not using the VC++ include path
when looking for the headers included in the .rc file.
Unfortunately I haven't found a workaround yet. If anyone
else has any ideas I'd be pleased to know

regards,
martinc.

Nov 16 '05 #2

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

Similar topics

1
by: Peter Stojkovic | last post by:
I have a Solution with 3 projects all in VB. If I make Changes in project A in one file, and say run, than the compiler finds always errors in a other forms, that should be correct. After a...
6
by: Mark | last post by:
Using VS.NET 2003 I have one asp.net application where the modified date never changes. I have other solutions (asp.net/desktop) where the modified date does change. This has been going on for...
1
by: Ravi Chaudhary | last post by:
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the...
18
by: JohnR | last post by:
From reading the documentation, this should be a relatively easy thing. I have an arraylist of custom class instances which I want to search with an"indexof" where I'm passing an instance if the...
5
by: kai | last post by:
Hi, I use XP Pro and VS2005. I find when I create a new Website, I only see the Project node not Solution. After I add sedcond project under the solution tree, then I see the solution node. How...
3
by: sameer | last post by:
Hi , Visual Studio 2003, VB.NEt my VB.Net solution has 10 project files, 1exe and 10 dlls in it and when i load up the solutions it takes for ever to load up and is pretty slow. Is there any...
4
by: Andrew Kidd | last post by:
Is there any reason that VS 2005 only selects some project to rebuild when I hit the "run debugger" (F5)? We have a solution with 12 projects in it, and I'm debugging one of them right now. I...
8
by: Dave | last post by:
Does anyone have any idea why my 2005 solution is choosing to rebuild, everytime i execute any project within its space? There's nothing overly strange with the project assemblies within, a few...
9
by: GaryDean | last post by:
I know this is a vs issue but nobody seems to answer posts over there... In VS 2008 I can't seem to get a multiple project solution. If I create a blank solution and add a project to it, it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.