Visual Studio:项目不是最新的,因为"AlwaysCreate"被指定为“? [英] Visual Studio: project is not up to date "because "AlwaysCreate" was specified"?

查看:97
本文介绍了Visual Studio:项目不是最新的,因为"AlwaysCreate"被指定为“?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将解决​​方案从VS2008迁移到VS2010(SP1).
现在,我的项目之一从未与时俱进.每个版本都有以下输出:

I've migrated a solution from VS2008 to VS2010 (SP1).
Now one of my project never finds peace in being up-to-date. Every build have the following output:

1>------ Build started: Project: PROJ_NAME, Configuration: Release Win32 ------
1>Build started 19/05/2011 7:59:27 AM.
1>InitializeBuildStatus:
1>  Creating "Release\PROJ_NAME.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1>  All outputs are up-to-date.
1>  All outputs are up-to-date.
1>Lib:
1>  All outputs are up-to-date.
1>  PROJ_NAME.vcxproj -> C:\projFolder.PROJ_NAME.lib
1>FinalizeBuildStatus:
1>  Deleting file "Release\PROJ_NAME.unsuccessfulbuild".
1>  Touching "Release\PROJ_NAME.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.09
========== Build: 1 succeeded, 0 failed, 5 up-to-date, 0 skipped ==========

有什么想法吗?

推荐答案

当项目中列出的包含文件之一实际上不存在时,我遇到了类似的问题.我已经删除了文件,但是忘记了将其从项目中删除.

I had a similar problem when one of the include files listed in the project didn't actually exist. I had deleted the file, but forgot to remove it from the project.

然后,依赖项检查器认为该项目不是最新的,但是构建器没有发现任何要构建的东西.

The dependency checker then believes the project is not up to date, but the builder finds nothing to build.

这篇关于Visual Studio:项目不是最新的,因为"AlwaysCreate"被指定为“?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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