Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Configuration always out ofdate

65 views
Skip to first unread message

Bob Freeman

unread,
Jul 22, 2002, 2:56:00 PM7/22/02
to
I have a VC6 workspace that I have converted to VC7. It contains a couple of
projects (MFC app + resource dlls). In VC7 it always indicates that it is
out of date. In other words, I can build the project without errors and when
I go to run it, it complains that the "These project configurations are out
of date, would you like to build them?"

I have been all over these projects and can't find any dependency problems.
Any ideas how to solve this?

Thanks,
Bob Freeman


BrickB (MSFT)

unread,
Jul 22, 2002, 5:32:25 PM7/22/02
to
There are a few rebuild bugs in VC, but they can be worked around. They have
also been addressed in future release of VC.

If it's the RC or MIDL file that is rebuilding, you might have the case
where the IDL or RC file are located outside the project directory, but they
include something that is in the project directory. To correct this, and the
project dir to the list of Additional Include Directories for each file
('.') to the MIDL and Project properties.

Also RC will rebuild it contains in internal binary. That is a property on
a binary resource has the "External File" set to false. If you set this back
to true and use external files it will work around the problem.

If you have something that is relinking every time, it might be the use of a
project macro on the "Additional Dependencies" property on the linker. You
can get around this by adding the path to the "Additional Library
Directories" and just listing the lib on the on the "Additional
Dependencies" prop.

If it's not one of these cases, let me know.

Brick

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved


"Bob Freeman" <bobf_n...@wrq.com> wrote in message
news:OzTGNFbMCHA.2620@tkmsftngp13...

BrickB (MSFT)

unread,
Jul 23, 2002, 1:15:17 PM7/23/02
to
Follow Up since we took this offline:

This is a known design limitation the .rc dependency scanner. If you have a
#include in the .rc file that is #ifdef out during a build, the dependency
scanner for .rc files doesn't understand compile time directives. So, if you
have an #ifdef around an include of a file that doesn't exist on your
system, it will keep rebuilding the .rc file.

If the #ifdef is needed, you can use the sysincl.dat file to tell the deps
scanner to stop looking for this file (the one in the #ifdef block). You can
look up in the VS help on "sysincl.dat" to get more details.

Brick

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved

Life is too short, play games www.zone.com


"BrickB (MSFT)" <bri...@online.microsoft.com> wrote in message
news:OHnSrccMCHA.2688@tkmsftngp11...

David Lowndes

unread,
Aug 4, 2002, 1:16:13 PM8/4/02
to

--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.

David Lowndes

unread,
Aug 4, 2002, 1:16:19 PM8/4/02
to
"BrickB \(MSFT\)" <bri...@online.microsoft.com> wrote:

--

0 new messages