vs2015配置:
参见:https://stackoverflow.com/questions/31547931/visual-studio-2015-program-out-of-date
打开菜单: tools->options->projects and solutions->Build and Run ->MSBuild project build output verbosity -> detailed or diagnostic
以下是vs2010及 13的;
Debugview下载: https://docs.microsoft.com/zh-cn/sysinternals/downloads/debugview
参见: https://blog.csdn.net/dx349670687/article/details/79219029
Open the devenv.exe.config file (found in %ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\ or in %ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE\). For Express versions the config file is named V*Express.exe.config.
Add the following after the </configSections> line:
<system.diagnostics>
  <switches>
    <add name="CPS" value="4" />
  </switches>
</system.diagnostics>
Restart Visual Studio
Open up DbgView and make sure it's capturing debug output
Try to debug (hit F5 in Visual Studio)
Search the debug log for any lines of the form:
devenv.exe Information: 0 : Project 'Bla\Bla\Dummy.vcxproj' not up to date because build input 'Bla\Bla\SomeFile.h' is missing.
(I just hit Ctrl+F and searched for not up to date) These will be the references causing the project to be perpetually "out of date".
To correct this, either remove any references to the missing files from your project, or update the references to indicate their actual locations.
Note: If using 2012 or later then the snippet should be:
<system.diagnostics>
  <switches>
   <add name="CPS" value="Verbose" />
  </switches>
</system.diagnostics>
 
                   
                   
                   
                   
                             本文介绍了如何解决Visual Studio项目始终提示为过时的问题,包括调整设置以查看详细输出,使用DebugView工具捕获调试信息,以及通过编辑配置文件定位导致问题的引用。针对不同版本的Visual Studio,提供了相应的配置方法,帮助开发者诊断并修复项目更新状态不准确的故障。
本文介绍了如何解决Visual Studio项目始终提示为过时的问题,包括调整设置以查看详细输出,使用DebugView工具捕获调试信息,以及通过编辑配置文件定位导致问题的引用。针对不同版本的Visual Studio,提供了相应的配置方法,帮助开发者诊断并修复项目更新状态不准确的故障。
           
       
           
                 
                 
                 
                 
                 
                
               
                 
                 
                 
                 
                
               
                 
                 扫一扫
扫一扫
                     
              
             
                   832
					832
					
 被折叠的  条评论
		 为什么被折叠?
被折叠的  条评论
		 为什么被折叠?
		 
		  到【灌水乐园】发言
到【灌水乐园】发言                                
		 
		 
    
   
    
   
             
            


 
            