ux:InnerClass throwing TypeNotFound and Sequence contains no elements errors

Platform: Windows 10

Fuse: 0.11.0 (build 6078)

Issue: When using the example outlined in the docs (https://www.fusetools.com/learn/fuse#ux-innerclass) for ux:InnerClass the following error is thrown Sequence contains no elements. This error also occurs when trying to use ux:InnerClass in other scenarios but the error varies between Sequence contains no elements and TypeNotFound: Type not found.

From docs generates the error: Sequence contains no elements

<App Theme="Basic">
    <Button ux:InnerClass="ActivateButton" ux:Name="btn" Margin="10">
        <Clicked>
            <!-- This class has access to currentActive because it is an inner class of App -->
            <Set highlight.LayoutMaster="btn" />
        </Clicked>
    </Button>

    <StackPanel>
        <ActivateButton Text="Option A" ux:Name="defaultOption"/>
        <ActivateButton Text="Option B" />
        <ActivateButton Text="Option C" />
        <Rectangle Fill="Red" ux:Name="highlight" Margin="-5" LayoutMaster="defaultOption">
            <LayoutAnimation>
                <Move RelativeTo="PositionChange" X="1" Y="1" Duration="0.4" Easing="BackOut" />
            </LayoutAnimation>
        </Rectangle>
    </StackPanel>
</App>

This example generates the error: Sequence contains no elements

<App Theme="Basic">

    <StackPanel ux:InnerClass="Carder" ux:Name="item">
        <Text Value="Card Text" />
    </StackPanel>


    <StackPanel>
        <Carder><Text Value="Exta Text A" /></Carder>
        <Carder><Text Value="Exta Text B" /></Carder>
        <Carder><Text Value="Exta Text C" /></Carder>
    </StackPanel>
</App>

This example generates the error: TypeNotFound: Type not found: MainView.Card

<App Theme="Basic">

    <StackPanel ux:InnerClass="Card" ux:Name="item">
        <Text Value="Card Text" />
    </StackPanel>


    <StackPanel>
        <Card><Text Value="Exta Text A" /></Card>
        <Card><Text Value="Exta Text B" /></Card>
        <Card><Text Value="Exta Text C" /></Card>
    </StackPanel>
</App>

Thanks for the report - on it!

This has now been fixed, new spin of 0.11 is on the way :slight_smile:

Thanks again for reporting!