'Nevron.Chart.WinForm.NChartControl' is not defined.


https://www.nevron.com/Forum/Topic8992.aspx
Print Topic | Close Window

By Edin Salihagic - 9 Years Ago
Hello, 
I need help from you. When I add NChartControl to WinForm I get error - 'Nevron.Chart.WinForm.NChartControl' is not defined.
I am using VS2010-Visual Basic. I follow steps from online documentation for adding basic chart from Nevron Online documentation.
After adding empty NchartControl to the Form I get error.

Errors:
Type 'Nevron.Chart.WinForm.NChartControl' is not defined.
Type 'Nevron.Chart.WinForm.NState' is not defined.

I am using .Net Framework 4.0. Also I tried to manually add reference for Nevron controls.

 Any suggestions? Thank you!

By Nevron Support - 9 Years Ago

Hi Edin,

Most likely you use .NET Framework 4.0 Client Profile - you need to use the regular .NET framework 4.0 - to fix this go to project settings Compile / Advanced Compile Options then from the Target Framework select ".NET Framework 4" (by default it's set to client profile in VS2010, but later this whole version of .NET framework was abandoned. Hope this helps - let us know if the problem persists...