Search code examples
xamarinmvvmcrossxamarin-studio

Xamarin Build failed. An exception was thrown while dispatching a method call in the UI thread


Today I upgraded to the latest Xamarin Studio build (Mac 5.9.1.3) and did an immediate build, which worked and successfully deployed to my IOS device. I have made a simple change to a class (added a property) now a build gives: "Build failed. An exception was thrown while dispatching a method call in the UI thread." No other diagnostics.

What does this error mean?

To isolate the error I have undone all changes and rebuilt - I get the same "Build failed" message, so the error isn't related to the code I changed but most likely my environment.

I have an Indie licence and running MVVMCross.

Can anyone help? Thanks Rod


Solution

  • As an answer to your comment.

    Disabling Version Control in Xamarin Studio:

    Tools -> Options -> Version Control -> General -> "Disable Version Control globally"