|
warning message |
Posted by Claude Kane on Jan-13-2013 18:47 |
|
I am getting the following notice and have tried many things, but cannot get rid of it. Suggestions please.
Warning 1 The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "netchartdir, Version=5.0.4.0, Culture=neutral" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project. generatorrev3 |
Re: warning message |
Posted by Peter Kwan on Jan-15-2013 01:14 |
|
Hi Claude,
The error messages mean your project is targetting the .NET client profile, which is a limited subset of the standard .NET framework, but the ChartDirector for .NET 5.0.x you are using requires the standard .NET framework.
To solve the problem, there are two methods:
(a) Please configure your project to target the standard .NET framework instead of the .NET client profile framework. (Choose Project/Properties and change the "Target Framework" to ".NET Framework 4".)
(b) Upgrade to ChartDirector 5.1. In ChartDirector 5.1, there is a full ChartDirector for .NET assembly "netchartdir.dll", which works with the standard .NET framework. There is also a simplified ChartDirector for .NET assembly "netchartdir_cp.dll" which works for the .NET client profile (in that it only uses .NET features that exist in the .NET client profile).
Note that the .NET client profile ghas been discontinued by Microsoft (see http://msdn.microsoft.com/en-us/library/cc656912.aspx), so you may want to use method (a) and reconfigure your project to not to use the .NET client profile.
Hope this can help.
Regards
Peter Kwan |
|