Reputation: 3035
I'm trying to use Xaml with Forms in a shared project, so I was using the xaml code example for ListView using Xaml here.
This is my project structure:
As, you can see, I haven't changed much. Here's the sample code on xamarin's github repo using PCL.
I'm getting the following error:
Could not load file or assembly 'XamarinFormsXamlSample' or one of its dependencies. The system cannot find the file specified.
What am I doing wrong and how can I solve this error?
Upvotes: 0
Views: 1309
Reputation: 599
Go to you iOS property settings and change the Assembly name from XamarinFormsXamlSampleiOS to XamarinFormsXamlSample, that should solve your problem, this only happens with shared projects.
Upvotes: 2