Click here to Skip to main content
15,848,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I am using simple PathListBox animation in splash screen. But it’s giving me error of missing assembly is as follows;

Error: Unhandled Error in Silverlight Application
Code: 2005
Category: ParserError
Message: Unknown namespace http://schemas.microsoft.com/expression/2010/controls.
File: http://localhost/LDAddonModules.Web/ClientBin/LDAddonModules.xap
Line: 35
Position: 122


Splash screen coding is as follows;
HTML
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:my="clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls"
             xmlns:ec="http://schemas.microsoft.com/expression/2010/controls" 
             xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" 
             xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" 
             x:Class="Silverlight_4_Trial.nMainPage"
    d:DesignHeight="768" d:DesignWidth="1360" mc:Ignorable="d">
    <UserControl.Resources>
        <Style x:Key="TextBlockStyle1" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontFamily" Value="DigifaceWide"/>
            <Setter Property="FontSize" Value="30.333"/>
            <Setter Property="Height" Value="35"/>
        </Style>

        <Storyboard x:Name="MoveLetters" RepeatBehavior="ForEver">
            <DoubleAnimation Duration="0:0:10" To="1" Storyboard.TargetProperty="(PathListBox.LayoutPaths)[0].(LayoutPath.Start)" Storyboard.TargetName="pathListBox" d:IsOptimized="True">
                <DoubleAnimation.EasingFunction>
                    <BounceEase EasingMode="EaseIn"/>
                </DoubleAnimation.EasingFunction>
            </DoubleAnimation>
        </Storyboard>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot">
    	<i:Interaction.Triggers>
    		<i:EventTrigger>
    			<ei:ControlStoryboardAction Storyboard="{StaticResource MoveLetters}"/>
    		</i:EventTrigger>
    	</i:Interaction.Triggers>
        <Grid.Background>
            <ImageBrush Stretch="UniformToFill" ImageSource="Splsh_Bck.png"/>
        </Grid.Background>
        <Button x:Name="btnOpnPg" Content="Click me" Click="btnOpnPg_Click" Grid.Row="0" Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Top"/>
    	<ec:PathListBox x:Name="pathListBox" Height="112.5" Margin="504,3,511,0" VerticalAlignment="Top" WrapItems="True">
    		<ec:PathListBox.LayoutPaths>
    			<ec:LayoutPath SourceElement="{Binding ElementName=___PathName_}" Distribution="Even" Capacity="25" FillBehavior="NoOverlap" Orientation="OrientToPath" Start="0.03"/>
    		</ec:PathListBox.LayoutPaths>
    		<TextBlock Text="T" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="H" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="I" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="N" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="K" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text=" " Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="B" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="R" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="O" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="K" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="I" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="N" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="K" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="I" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="G" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text=" " Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="T" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="H" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="I" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="N" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="K" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text=" " Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="L" Style="{StaticResource TextBlockStyle1}"/>
    		<TextBlock Text="D" Style="{StaticResource TextBlockStyle1}"/>
            <TextBlock Text=" " Style="{StaticResource TextBlockStyle1}"/>
    	</ec:PathListBox>
        <Path x:Name="___PathName_" Data="M500,150 L539,81 L573,50 L610,28 L647,18 L684,18 L728,21 L767,34 L796,52 L818,80 L842,118 L863,161" Height="143" Margin="500,18,497,0" Stretch="Fill" UseLayoutRounding="False" VerticalAlignment="Top"/>
        <StackPanel Orientation="Horizontal"/>
    </Grid>
</UserControl>


Kindly guide me how to remove this error

Thanks & Regards



Anil Kamble
Posted
Updated 25-Nov-12 23:25pm
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900