<分区>
我在 Visual Studio 2010 的解决方案中有 5 个项目(4 个 C++ 项目和 1 个 C# 项目)。
有些项目依赖于其他项目。
我已正确配置所有输出目录(.lib、.dll)。
当我从菜单中选择“重建解决方案”时,有些项目构建失败。
我收到以下错误消息:
Error 1 error FTK1011: could not create the new file tracking log file: C:\Users\Administrator\Desktop\ServerWinForm\Obj\CL.read.1.tlog. The file exists. C:\Users\Administrator\Desktop\ServerWinForm\Common\FileTracker Error 7 error LNK1104: cannot open file '../Bin\x86\Debug\Common.lib' Error 9 The referenced assembly "C:\Users\Administrator\Desktop\DVRServerWinForm\CPPWrapper../Bin/x86/Debug\CPPWrapper.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one.
但是当我右键单击并按照“项目构建顺序”中的顺序逐个构建每个项目时,它就成功构建了。
有人能告诉我为什么会这样吗?