ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Eorror
Posted by Froskoy on Nov-21-2010 04:17
Hi,

I have dragged the WinChartViewer control from the toolbox to my form and netchartdir has
been included.

However, I get the error messages:
Warning 5 The referenced assembly "netchartdir" could not be resolved because it
has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework
".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in
the targeted framework or consider retargeting your project.

and


Error 1 The type or namespace name 'ChartDirector' could not be found (are you
missing a using directive or an assembly reference?) C:\\Users\\Matthew
Ireland\\Documents\\Visual Studio 2010\\Projects\\iMeasure Mk2\\iMeasure
Mk2\\frmChartTest.Designer.cs 59 17 iMeasure Mk2


What can I do?

Many thanks,

Froskoy.

  Re: Eorror
Posted by Peter Kwan on Nov-23-2010 00:51
Hi Froskoy,

The issue is because your project is targetting the ".NET Framework 4 Client Profile", which is a subset of the ".NET Framework 4". ChartDirector requires the standard .NET framework. Please configure your project to target the standard ".NET Framework 4" instead.

See also:

http://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&thread=1274884637#N1274892233

Hope this can help.

Regards
Peter Kwan