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"));

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

have you put in a using statement for that assembly?
apophis_nfldAuthor Commented:
I put it in my references in the solution explorer (visual studio 2008).
apophis_nfldAuthor Commented:
I added
using DevExpress.XtraCharts;
to the script and code, but still the same error.
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Did you reference the correct version of the file?
apophis_nfldAuthor Commented:
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
apophis_nfldAuthor Commented:
The Report Designer has it's own way of handing references... you need to hard code the DLL.  Very evil, but it works now.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.