Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
ok heres the problem Yesterday i started VC++ as usual and started work on my project long story short when ever i try to debug VC++ asks if
i want it to build all 4 projects as thay are out of date but i built the solution just before i hit the start debuging button :( , now ive got a backed up version from a day or 2 ago and that seams fine :) but i dont know what is wrong with it, i suspect that a some how the project solution has gotten messed up but donno how so can some one PLEASE tell me what went wrong so that i can sort this out.

Thanks in Advance :thumbsup:.
Posted

This is most likely a problem with your time stamps.
If you set your clock back (or got the files from someone in a different time zone) then the source files will have a newer time stamp than the compiled object files, hence Visual Studio thinks the source file has changed.

An annoying fix for this is to open every file and save it to update the time stamps.
Or, just put your clock back if you changed it ;P
 
Share this answer
 
One of the source files, or perhaps a common header, may have a modification timestamp in the future. This happened to me once when I was debugging on a night when the computer clock was automatically set 1 hr back at the end of the daylight saving time period, so one of my source files appeared to have been modified in the future.
 
Share this answer
 
Comments
Andrew Brock 20-Jan-11 5:23am    
OMG, that totally happened to me too. Thats how I know :D
dasblinkenlight 20-Jan-11 5:38am    
Nice! BTW, I think the fact that it is happening on DST nights indicates that there's a logical bug in the OS: the modification time of a file is set to the local time, not a UTC time + offset.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900