I have a problem where a command line build of a *.vcproj file using the VCBuild task returns "BaseLib - up-to-date" when it really is not. BaseLib.vcproj produces the output library BaseLib.lib, and one of the *.cpp files in the project includes BaseLib.h. BaseLib.h has a last modified date of 5/30/2006, and BaseLib.lib has a modification date of 5/16/2006. The project is out-of-date right BaseLib.h *is* explicitly in the project.
However, if I open up the BaseLib.vcproj in Visual Studio 2005 and do a build-all then it does properly decide to rebuild everything.
Is anybody aware of this apparent bug, and is there a work-around

command line build up-to-date when it shouldn't be
praveen_josh
yes, it sounds like a bug. you can report bugs to us at http://connect.microsoft.com/feedback/default.aspx SiteID=210
please provide a repro case (project & source files) if at all possible. bugs of this nature are usually quite difficult for us to reproduce without a sample case.
thanks,
josh
VC++ project system developer
Paulovsky
I've encountered a problem and I'm wondering if any of you can help.
I have a project: BaseLib.vcproj. I'm simplifying a bit, but it as a file BaseLib.cpp and BaseLib.h, and produces the static library BaseLib.lib. BaseLib.h has a modification date of 5/30/2006, and BaseLib.lib file a date of 5/15/2006. This project is out of date right
What I've noticed is that if I invoke VCBuild to do the build that it says the project is up to date, but if I open the project file in Visual Studio 2005 then it detects that something needs to be built, and it properly builds the project. I don't have any
Is this maybe a bug in VCBuild If so does anybody know of a workaround
RodRav
ColSchmoll
I've merged this into the same question that was asked last week, and moved it to the VC forum since this is a VCBuild issue.
Neil
LiquidBlaze
There are problems related to vcbuild when it comes to one of the following:
A vcbuild /rebuild should alleviate most issues related to command line building.
netexplorer
Will K
Moving this to the C++ forum since it's about VCBuild.
Neil