2

I am trying to add Checkbox in Xamarin.Forms PCL project in Xamarin Studio Starter Edition.I refered this link How to create checkbox in xamarin forms to add Checkbox.Then Successfully added Xamarin.Forms.Labs Package Through Nuget Package Manager.I added namespace

xmlns:controls="clr-namespace:XLabs.Forms.Controls;assembly=XLabs.Forms"

in my xaml page. After Running the project i got Could not load file or assembly 'XLabs.Forms' or one of its dependencies. The system cannot find the file specified throws exception. Please anyone tell me the problem.

4

1 回答 1

3

我遇到了这个问题,这是因为我没有遵循此页面上的说明https://github.com/XLabs/Xamarin-Forms-Labs/wiki

您需要确保将 AppDelegate 更改为从 XFormsApplicationDelegate 派生,这为我解决了问题。

[Register("AppDelegate")]
public partial class AppDelegate : XFormsApplicationDelegate
于 2015-05-04T04:30:40.223 回答