A pity VS out of date issue
I met a VS out-of-date compiling issue. The situation is:
1. It appear all the time if compiling a VS2010 C++/CLI project. After a successful build, press F5 to run it, prompt me: out of date! after using debugview for further research, the result is: everytime VS finds the exe is in first modified time (it's correct) while the pdb modified date is always wrong from its real date displayed in explorer. Googled, but no result...
2. It doesn't reproduce for VS2008 and VS2010 other languages. 
3. It should relate to the random compile error if compiling targeting to dotNet 4.0 for the vc project: "error: not valid win32 fileTime". BUT I can't figure out the reason..
  
By diagnosticing a VS out-of-date issue, whatever, I gained something:
1. FileTime stored by NTFS VS FAT. There is a FileTime stored in file system. MSDN gives good example to help understand it:
A file time is a 64-bit value that represents the number of 100-nanosecond intervals that have elapsed since 12:00 A.M. January 1, 1601 Coordinated Universal Time (UTC). The system records file times when applications create, access, and write to files.
The NTFS  file system stores time values in UTC format, so they are not affected  by changes in time zone or daylight saving time. The FAT file system  stores time values based on the local time of the computer.  For  example, a file that is saved at 3:00pm PST in Washington is seen as  6:00pm EST in New York on an NTFS volume, but it is seen as 3:00pm EST  in New York on a FAT volume. 
2. DebugView + devenv.exe.config: to trace down issue: Enable C++ project system logging
Note: open debugview firstly and then open VS. 
 
                    
                
 
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号