so working on same wpf project on 2 different computers.
i using bitbucket (git) push , pull online repository.
now ive collected project on new computer , want run program. following error:
the invocation of constructor on type 'henvendelser.mainwindow' matches specified binding constraints threw exception.' line number '5' , line position '9'.
now xml:
<window x:class="henvendelser.mainwindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:dv="clr-namespace:system.windows.controls.datavisualization;assembly=system.windows.controls.datavisualization.toolkit" xmlns:chart="clr-namespace:system.windows.controls.datavisualization.charting;assembly=system.windows.controls.datavisualization.toolkit" title="henvendelser" height="699" width="888"> <grid> <tabcontrol name="tabcontrol1" margin="0,61,0,0"> <tabitem header="henvendelser" name="tabitem1"> <chart:chart name="henvendelser" background="lightsteelblue" title="henvendelser" flowdirection="righttoleft" fontfamily="calibri" visibility="visible" height="412"> <chart:chart.series> <chart:lineseries independentvaluebinding="{binding path=key}" dependentvaluebinding="{binding path=value}" animationsequence="firsttolast"> </chart:lineseries> <chart:lineseries independentvaluebinding="{binding path=key}" dependentvaluebinding="{binding path=value}" animationsequence="firsttolast"> </chart:lineseries> </chart:chart.series> </chart:chart> </tabitem> </tabcontrol> <button content="hent data" height="55" horizontalalignment="left" margin="744,12,0,0" name="btn_hentdata" verticalalignment="top" width="102"/> <datagrid autogeneratecolumns="false" height="100" horizontalalignment="left" margin="119,560,0,0" name="datagrid1" verticalalignment="top" width="727" /> </grid>
this line 5:
xmlns:chart="clr-namespace:system.windows.controls.datavisualization.charting;assembly=system.windows.controls.datavisualization.toolkit
"
now @ first thought imports tried import of dll files again no result
this picture of references
can tell me why getting execption , how can rid of it?
** additional information**
the funny thing error , location able see chart area in gui builder though chart import there problem with.
here picture:
Comments
Post a Comment