Link to home
Start Free TrialLog in
Avatar of apophis_nfld
apophis_nfld

asked on

DevExpress Error

I get an error in Report Designer when I run a report CS0012 The type 'DevExpress.Charts.Native.ISeries' is defined in an assembly that is not referenced.  You must add a reference to assembly 'DevExpress.Charts.v8.1.Core'

I've referenced it in my project... below is the code in the report.
private void OnBeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
	XRChart xrChart = (XRChart)sender;
	Series series1 = xrChart.Series[0];
	DataFilter dataFilter = new DataFilter("MMSI", "Int32", DataFilterCondition.Equal, GetCurrentColumnValue("MMSI"));
	series1.DataFilters.Add(dataFilter);
}

Open in new window

Avatar of p_davis
p_davis

have you put in a using statement for that assembly?
Avatar of apophis_nfld

ASKER

I put it in my references in the solution explorer (visual studio 2008).
I added
using DevExpress.XtraCharts;
to the script and code, but still the same error.
Did you reference the correct version of the file?
I'm pretty sure... it was asking for 8.1 and that's the version I have added.
did you just recently upgrade? make a copy of the project's liscenses.licx and then delete it from the solution - then try to build.  if that doesn't work just put the old file back in
ASKER CERTIFIED SOLUTION
Avatar of apophis_nfld
apophis_nfld

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial