Class not found only in iOS
I've added DynamicWrapLayout Nuget in PCL, Android and iOS project. After this, I've added the xmlns: xmlns:suave="clr-namespace:SuaveControls.DynamicWrapLayout;assembly=SuaveControls.DynamicWrapLayout"
And in the view the next code:
<ScrollView>
<suave:DynamicWrapLayout ItemsSource="{Binding Items}" HorizontalOptions="Fill">
<suave:DynamicWrapLayout.ItemTemplate>
<DataTemplate>
<StackLayout BackgroundColor="Gray" WidthRequest="120" HeightRequest="180">
<Label Text="{Binding .}" TextColor="White" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" />
</StackLayout>
</DataTemplate>
</suave:DynamicWrapLayout.ItemTemplate>
</suave:DynamicWrapLayout>
</ScrollView>
When run Android project, all works fine, but iOS project throws the next exception: Type suave:DynamicWrapLayout not found in xmlns clr-namespace:SuaveControls.DynamicWrapLayout;assembly=SuaveControls.DynamicWrapLayout
If I run the example project of DynamicWrapLayout, all works fine in both platforms, but in my project throws the above exception.
I'd appreciate it if you could give me some advice on trying to find a solution to the problem.
Sounds like the nuget package may not have properly installed. Is it definitely installed and restored for all 3 projects?