Visual Studio 2010项目始终过时 [英] Visual Studio 2010 projects always out of date

查看:106
本文介绍了Visual Studio 2010项目始终过时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现这个问题问了很多遍,但是并没有真正的解决方法.我们有一个包含数十个项目的解决方案.大多数项目会产生一个".lib"文件.然后通过关联的链接"文件链接的文件.项目.链接项目 产生我们需要的输出dll.这对于Visual Studio 2008来说效果很好.但是,对于Visual Studio 2010,我现在得到了可怕的项目已过时".对话框.我已经使用了 Gort,Klaatu和Barada Nikto

I've found this question asked many times, but, with no real solid resolution.  We have a solution that consists of dozens of projects.  Most projects produce a ".lib" file that is then linked by an associated "link" project.  The link prokect produces the output dll we need.  This worked fine for Visual Studio 2008.  But, for Visual Studio 2010 I now get the dreaded "projects are out of date" dialog box.  I've used the technique speicied in https://connect.microsoft.com/VisualStudio/feedback/details/532236/visual-studio-2010-c-project-project-is-permanently-out-of-date-build-necessary?ppud=0&wa=wsignin1.0 to determine what is possibly going on.  Initially, we did have some files that were in the projects and were no longer on the hard drive.  These have been cleaned up, so, that's not the problem.  Yet, when I clean the entire solution, build all projects and debug, I still get the same dialog box.  I used DebugView to display the build trace messages.  Most times, it complains about the .pdb files or the .exp files.  Is there any way out of this mess?  I've spent way too much time tyring to figure this out.  This should not happen from one release of Visual Studio to another!


Gort, Klaatu, Barada Nikto

推荐答案

Hi Barada,

Hi Barada,

项目已过时";输入文件的时间戳比输出文件的时间戳新时,将弹出对话框.因此,请尝试删除所有 Debug 文件夹查看其是否正常运行.

"Projects are out of date" dialog will be poped up when the time stamp of input files are newer than output files. So please try to delete all the Debug folder to see if it works fine.

如果这样做没有帮助,您能否给我详细的步骤来重现此问题?谢谢.

If this does not help, could you give me detailed steps to reproduce this issue? Thanks.

问候

邵小姐[MSFT]
MSDN订户支持 在论坛中
如果您对我们的支持有任何反馈,请联系msdnmg @ microsoft.com

Nancy Shao [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com


这篇关于Visual Studio 2010项目始终过时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆