Xamarin 构建失败。在 UI 线程中调度方法调用时抛出异常
Xamarin Build failed. An exception was thrown while dispatching a method call in the UI thread
今天我升级到最新的 Xamarin Studio 版本 (Mac 5.9.1.3) 并立即进行了构建,它运行并成功部署到我的 IOS 设备上。
我对 class 进行了简单更改(添加了 属性),现在构建给出:
"Build failed. An exception was thrown while dispatching a method call in the UI thread."
没有其他诊断。
这个错误是什么意思?
为了隔离错误,我撤消了所有更改并重新构建 - 我收到相同的 "Build failed" 消息,因此该错误与我更改的代码无关,但很可能与我的环境有关。
我有独立许可证和 运行 MVVMCross。
有人可以帮忙吗?
谢谢
杆
作为对您评论的答复。
在 Xamarin Studio 中禁用版本控制:
Tools -> Options -> Version Control -> General -> "Disable Version Control globally"
今天我升级到最新的 Xamarin Studio 版本 (Mac 5.9.1.3) 并立即进行了构建,它运行并成功部署到我的 IOS 设备上。 我对 class 进行了简单更改(添加了 属性),现在构建给出: "Build failed. An exception was thrown while dispatching a method call in the UI thread." 没有其他诊断。
这个错误是什么意思?
为了隔离错误,我撤消了所有更改并重新构建 - 我收到相同的 "Build failed" 消息,因此该错误与我更改的代码无关,但很可能与我的环境有关。
我有独立许可证和 运行 MVVMCross。
有人可以帮忙吗? 谢谢 杆
作为对您评论的答复。
在 Xamarin Studio 中禁用版本控制:
Tools -> Options -> Version Control -> General -> "Disable Version Control globally"