c++ - 从命令行构建 x64 C++ 项目说 : This operation should only take place on the UI thread

标签 c++ visual-studio-2013 build 64-bit devenv

Visual Studio 2013 在构建时出现问题,显示错误信息如下:

c:>devenv /build debug /project (project name) /projectconfig "debug|x64" (solution Name).sln

1>This operation should only take place on the UI thread.

最佳答案

我刚刚在使用 Visual Studio 2015 编译 C++ 代码时遇到了这个问题(错误:此操作应该只发生在 UI 线程上)。最后追踪到编译失败的项目的 .vcxproj.filters 文件。该文件已从另一个代码流合并而来,并且在一处缺少结束的“ClCompile”XML 标记。显然这会导致错误,尽管在 IDE 中编译工作正常。

关于c++ - 从命令行构建 x64 C++ 项目说 : This operation should only take place on the UI thread,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29384333/

相关文章:

c++ - 最后未调用后缀运算符

c++ - 将 QVector 从信号传递到不同线程中的槽会导致数据复制吗?

javascript - AngularJS - 使用 $resource 并与 RESTful 数据源交互

build - FFMPEG 构建错误

ios - React Native ios 构建错误 'React/RCTBridgeModule.h' 找不到文件

c++ - 如何将一个 qApplication 的 GUI 嵌入到另一个 qApplication 的 mainWindow 中?

c++ - 找不到新线程 : generic error

visual-studio-2013 - TeamFoundation.VersionControl.HatPackage 加载失败

entity-framework - EntityDeploySplit 错误 - 缺少 Microsoft.Data.Entity.Build.Tasks.dll

java - 无法 Maven 构建 "strings in switch are not supported in -source 1.5 in eclipse while maven build"