Visual Studio: project is not up to date quot;because quot;AlwaysCreatequot; was specifiedquot;?(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 "ReleasePROJ_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 "ReleasePROJ_NAME.unsuccessfulbuild".
1> Touching "ReleasePROJ_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“被指定"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Visual Studio:项目不是最新的“因为"AlwaysCreate“被指定"?
基础教程推荐
- 运算符重载的基本规则和习语是什么? 2022-10-31
- C++,'if' 表达式中的变量声明 2021-01-01
- C++ 标准:取消引用 NULL 指针以获取引用? 2021-01-01
- 您如何将 CreateThread 用于属于类成员的函数? 2021-01-01
- 什么是T&&(双与号)在 C++11 中是什么意思? 2022-11-04
- 设计字符串本地化的最佳方法 2022-01-01
- 调用std::Package_TASK::Get_Future()时可能出现争用情况 2022-12-17
- C++ 程序在执行 std::string 分配时总是崩溃 2022-01-01
- 如何定义双括号/双迭代器运算符,类似于向量的向量? 2022-01-01
- 如何在 C++ 中处理或避免堆栈溢出 2022-01-01