Click here to Skip to main content
11,577,673 members (37,749 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight
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;
<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 25-Nov-12 19:10pm
Edited 25-Nov-12 22:25pm
DaveAuld182.2K
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

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

  Print Answers RSS
0 DamithSL 180
1 OriginalGriff 115
2 Richard MacCutchan 100
3 Peter Leow 100
4 Abhinav S 100
0 OriginalGriff 820
1 Sergey Alexandrovich Kryukov 681
2 Abhinav S 528
3 F-ES Sitecore 420
4 Suvendu Shekhar Giri 375


Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100