CarouselView

MagnusWallonMagnusWallon USMember ✭✭✭
edited February 2017 in Xamarin.Forms

Hi,
I'm trying to use the CarouselView, but get an error that looks like this "Error CS0234: The type or namespace name CarouselView' does not exist in the namespaceXamarin.Forms'. Are you missing an assembly reference? (CS0234) (playingMedia)"
I implemented it like below and installed the package in the main package folder and in ios and android package folder.

Does someone know what I might be missing?

<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" 
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:cv="clr-namespace:Xamarin.Forms;assembly=Xamarin.Forms.CarouselView"
             x:Class="playingMedia.ImageViewer">
    <StackLayout Margin="0,40,0,0" VerticalOptions="Fill">
        <Label x:Name="txt_test2"
                    Text="test-text2"
                    HorizontalOptions="Center" />
        <Button Text="Close" Clicked="closeMe"/>
        <cv:CarouselView 
            x:Name="MyCarouselView" 
            HorizontalOptions="FillAndExpand" 
            VerticalOptions="FillAndExpand" />

    </StackLayout>
</ContentPage>
Tagged:

Posts

  • MagnusWallonMagnusWallon USMember ✭✭✭

    Can't figure out what causes this problem, no one that has any idea?

    Best regards
    /magnus

Sign In or Register to comment.