简体   繁体   English

Visual Studio 2010项目永远不会更新

[英]Visual Studio 2010 projects are never up to date

I've hit an issue with some of the projects in our Visual Studio 2010 solution. 我在Visual Studio 2010解决方案中遇到了一些项目问题。 When I build they are never up to date and always rebuild. 当我构建它们时,它们永远不会更新,并且总是重建。

Using this post 使用这篇文章

http://blogs.msdn.com/b/vsproject/archive/2009/07/21/enable-c-project-system-logging.aspx http://blogs.msdn.com/b/vsproject/archive/2009/07/21/enable-c-project-system-logging.aspx

I was able to figure out that some of my projects had headers listed which no longer existed. 我能够弄清楚,我的某些项目中列出了不再存在的标头。 Removing these references fixed 5 of the projects. 删除这些引用将修复项目5。

But that leaves 13 which are always being built. 但是,剩下的13个始终在构建中。 The reason I get from the VS2010 log is 我从VS2010日志中得到的原因是

devenv.exe Information: 0 : Project 'C:\\path\\to\\project.vcxproj' up to date check disabled because the LastBuildState and/or LastBuildUnsuccessful properties are not set. devenv.exe信息:0:由于未设置LastBuildState和/或LastBuildUnsuccessful属性,禁用了项目'C:\\ path \\ to \\ project.vcxproj'的最新检查。

When I search google I'm getting hits for this message. 当我搜索google时,我收到此消息的点击量。 But no solutions. 但是没有解决方案。

Does anyone know whats going on? 有人知道发生了什么吗?

All these projects are NMake based. 所有这些项目都是基于NMake的。 Kinda suspect that may be the root cause. Kinda怀疑这可能是根本原因。 Do NMake projects set these properties? NMake项目是否设置了这些属性?

A very similar question is answered here 这里回答一个非常类似的问题

I had to delete all .tlog files from my output. 我必须从输出中删除所有.tlog文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM