Note that there are some explanatory texts on larger screens.

plurals
  1. POMVVM Cross support for Xamarin Studio on a Mac
    primarykey
    data
    text
    <p>I have been exploring the use of <a href="https://github.com/slodge/MvvmCross" rel="nofollow noreferrer">MVVM Cross</a> on Xamarin Studio on a Mac. I've been going through the tutorials for <a href="http://www.youtube.com/playlist?list=PLR6WI6W1JdeYSXLbm58jwAKYT7RQR31-W" rel="nofollow noreferrer">N+1 days of MvvmCross</a> on YouTube and I've run into a roadblock that hopefully someone else has experienced.</p> <p>The tutorials use PCLs and VS 2012, but since I'm on a Mac, I have to use Xamarin Studio. I understand PCLs are not support in Xamarin Studio so I've created a base C# project and then linked the libraries to a Xamarin.Android project. I've read quite a few MvvmCross posts including <a href="https://stackoverflow.com/questions/15613790/setup-of-xamarin-studio-to-work-with-pcl-mvvmcross">this one</a> but haven't been able to find a solution.</p> <p>The project builds successfully and appears to deploy to the emulator successfully, but I can not get the app to run on the emulator. The app immediately closes and the only error I receive is the following non-descript message in the Application Output of Xamarin Studio.</p> <pre><code>[monodroid-gc] GREF GC Threshold: 1800 [mono] Stacktrace: [mono] [mono] [mono] Unhandled Exception: [mono] System.NullReferenceException: Object reference not set to an instance of an object [mono] [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object </code></pre> <p>I've set multiple breakpoints but cannot get any them to fire, it appears the error is occurring before my code is run. I downloaded the sample code for the project and it ran successfully so I then went line by line to check for errors but with no success (I even replaced my class files with those from the example. I've confirmed that all of the DLLs are correct. I'm using the precompiled libraries from <a href="https://github.com/slodge/MvvmCross-Binaries" rel="nofollow noreferrer">https://github.com/slodge/MvvmCross-Binaries</a>.</p> <p>I'm really not sure where to go next to determine the cause of this error. Has anyone else experienced this? I know both Xamarin and MvvmCross focus on Visual Studio integration and PC development; is MvvmCross stable enough to use on Xamarin Studio for a Mac? Does anyone know what my error may be, or what to try next?</p> <p>I know this is a fairly undefined problem but I'm hoping I'm not the only one to experience this. I've tried to be a descriptive as possible but if anyone need more information, please let me know. Thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload