Tuesday, September 2, 2014

Updating Xamarin.Forms.Labs to beta6 broke my project

I updated Xamarin.Forms to 1.2.2.6243 and also updated Xamarin.Forms.Labs to beta6. This broke my app at runtime with the following error.

2014-09-02 08:14:06.189 FormsTemplateiOS[4440:70b] Could not register the assembly 'Xamarin.Forms.Labs.iOS': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

Simple solution though, just check your project file for the iOS project and make sure the hintpath points to the correct package.

   
      ..\..\packages\Xamarin.Forms.Labs.1.1.1-beta6\lib\MonoTouch\Xamarin.Forms.Labs.dll
   

   
      ..\..\packages\Xamarin.Forms.Labs.1.1.1-beta6\lib\MonoTouch\Xamarin.Forms.Labs.iOS.dll
   

No comments:

Post a Comment