Note that there are some explanatory texts on larger screens.

plurals
  1. POVS2010: Project is out of date
    text
    copied!<p>Every time I run the project VS2010 thinks the project is out of date. I went through this <a href="https://stackoverflow.com/questions/2762930/vs2010-always-thinks-project-is-out-of-date-but-nothing-has-changed">post</a> and enabled debugging output via debugView. The concerning lines in debugView are the following:</p> <pre><code>00000001 0.00000000 [7792] devenv.exe Information: 0 : 00000002 0.00001620 [7792] Project 'C:\code\MyProject\MyProject.vcxproj' not up to date because 'C:\PROGRAMDATA\SOPHOS\SOPHOS ANTI-VIRUS\CONFIG\CONFIG.BOPS' was modified at 09/24/2012 12:50:28, which is newer than 'C:\CODE\MyProject\DEBUG\MyProject.BSC' which was modified at 09/24/2012 16:07:24. 00000003 23.05826569 [7792] devenv.exe Information: 0 : 00000004 23.05829620 [7792] Project 'C:\code\MyProject\MyProject.vcxproj' not up to date because 'C:\PROGRAMDATA\SOPHOS\SOPHOS ANTI-VIRUS\CONFIG\CONFIG.BOPS' was modified at 09/24/2012 12:50:28, which is newer than 'C:\CODE\MyProject\DEBUG\MyProject.BSC' which was modified at 09/24/2012 16:07:24. 00000005 26.08067894 [7792] devenv.exe Information: 0 : 00000006 26.08071709 [7792] Project 'C:\code\MyProject\MyProject.vcxproj' not up to date because 'C:\PROGRAMDATA\SOPHOS\SOPHOS ANTI-VIRUS\CONFIG\CONFIG.BOPS' was modified at 09/24/2012 12:50:28, which is newer than 'C:\CODE\MyProject\DEBUG\MyProject.BSC' which was modified at 09/24/2012 16:07:24. </code></pre> <p>First of all it is awful that VS2010 will look at some unrelated file (Well Microsoft!) but I tried <a href="https://stackoverflow.com/questions/9412023/vs2010-rebuilds-c-project-because-of-modified-irrelevant-files">this</a> solution and <a href="http://connect.microsoft.com/VisualStudio/feedback/details/649139/vs2010-does-complete-rebuild-based-on-completely-unrelated-file" rel="nofollow noreferrer">this</a> both using <code>&lt;ClNoDependencies&gt;</code> to exclude the unrelated file but I have no luck.</p> <p>I noticed that if I start out with a simple brand new project, it doesn't have this annoying <code>project is out of date</code> problem. This seems to be a know bug in VS2010 but it is mystery to me why VS2010 links my original project to that unrelated antivirus file but not the new project? Does this means there could be something I can fix in my original project to de-link the file? But I don't know what could it be since my project is not referencing that anti-virus file at all.</p> <p>Is there any solution to this problem?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload