I have just added a Windows Phone 8.1 project to my Xamarin app project, but now I can't figure out how to initialize XLabs in it, as it can't find XFormsAppWP
, so I can't follow the guide at XLabs's website.
I am using XLabs v. 2.0.5783-pre01.
Can somebody help me?
When installing Xlabs you must install the nuget in each project that you have. I've tested now with the Xamarin.Forms 2.2.0.31 with the XLabs.Forms 2.2.0-pre02 in a WP8.1 project.
In your App.xaml.cs
place this:
var app = new XFormsAppWin();
app.Init(this);
Below the line:
Xamarin.Forms.Forms.Init(e);
And add this:
using XLabs.Forms;