De.TorstenMandelkow.MetroChart.dll WPF Error

Dec 24, 2013 at 5:27 AM
Edited Dec 24, 2013 at 5:29 AM
When I Use This Dll On My Appication Like......................
<MetroChart:PieChart HorizontalAlignment="Left" Margin="31,16,0,0" x:Name="PieChart" SelectedItem="{Binding Path=SelectedItem,Mode=TwoWay}" VerticalAlignment="Top" Height="365" Width="647" RenderTransformOrigin="0.5,0.5">
        <MetroChart:PieChart.Series>
            <MetroChart:ChartSeries DisplayMember="Display" ToolTip="Uday" ValueMember="Value" ItemsSource="{Binding Path=Errors}"/>

        </MetroChart:PieChart.Series>

    </MetroChart:PieChart>
Then This Show Error

The tag 'PieChart' does not exist in XML namespace 'clr-namespace:De.TorstenMandelkow.MetroChart;assembly=De.TorstenMandelkow.MetroChart'.

How To Solve This Error ?
Jan 2, 2014 at 3:34 PM
did you include the namespace in the xaml?
xmlns:chart="clr-namespace:De.TorstenMandelkow.MetroChart;assembly=De.TorstenMandelkow.MetroChart"
and then you can use it like:
<chart:PieChart x:Name="pie"/>
Jan 8, 2014 at 7:53 PM
Even I got the same error when I tried to use it with framework 4.0!!
The error disappears though and the chart works great if it is used with framework 4.5.
Mar 1, 2014 at 10:52 AM
Download source of lib and compile it against .NET 4, then reference compiled lib in your project.
Mar 1, 2014 at 2:42 PM
Thanks ma Frnd For helping in this Error.
its a Framework Error . I Have Change My Framework 4.0 to 4.5 And ma Problem is Solve.

Thnx bigN13