发布模式文件同步问题 - 当前源代码与构建的版本不同 [英] Release mode file sync issue - current source code different from the version built

查看:192
本文介绍了发布模式文件同步问题 - 当前源代码与构建的版本不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试器中以发布模式运行我的C ++ metro项目时,弹出的对话框显示:

When running my C++ metro project in the debugger in release mode, I dialog pops up that says:

副本在< 长目录路径>中找到了scenemanager.cpp但是当前的源代码与内置于< 完全相同的长目录路径的版本不同>

A copy of scenemanager.cpp was found in <long directory path> but the current source code is different from the version built into <the exact same long directory path>

它只是抱怨一个文件,如果重要的话,是在主要的WinRT项目引用的静态库中。

It’s only complaining about the one file, which if it matters, is in a static lib that the main WinRT project is referencing.

我已经:



    • 重新启动。
    • 清理项目,包括发布和调试。
    • 检查解决方案中的项目路径以及输出窗口对于构建......一切似乎都指向正确的位置。
    • 检查SceneManager.cpp的文件属性与项目中的其他类似文件。
    • Rebooted.
    • Cleaned the project, both release and debug.
    • Inspected both the project paths in the solution, as well as the output window for the build… everything appears to point to the right place.
    • Inspected SceneManager.cpp’s file properties against other similar files in the project.

  1. Content = false
  2. 文件类型= C / C ++代码
  3. 包含在Project = True中
  4. 路径和名称是正确的


关于文件SceneManager.cpp的唯一独特之处它与它所在的静态库项目具有相同的名称,我只提出它因为

The only unique thing about the file SceneManager.cpp is that it has the same name as the static library project it is in, which I only bring up because

作为旁注,同时这看起来我失败了认证"崩溃和挂起"测试,但我没有相关的证据。

As a side note, at the same time this appeared I fail the certification "crash and hangs" test, but I have no proof these are related yet.

Jim Tomasko

Jim Tomasko

推荐答案

作为更新,崩溃是固定的,但我仍然有同样的问题......任何时候我在发布模式下在scenemanager.cpp中放置一个断点,编译器投诉仍然会发生。 &NBSP;这并没有给我一种温暖的感觉,我实际上正在调试
正确的内容。

As an update, the crash is fixed, but I still have the same problem... any time I place a breakpoint in scenemanager.cpp while in release mode, the compiler complaint still happens.  This is not giving me a warm feeling that I'm actually debugging the right content.


这篇关于发布模式文件同步问题 - 当前源代码与构建的版本不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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