找不到类型'System.Windows.Forms.DataVisualization.Charting.Chart'等. [英] Could not find type 'System.Windows.Forms.DataVisualization.Charting.Chart' etc..

查看:731
本文介绍了找不到类型'System.Windows.Forms.DataVisualization.Charting.Chart'等.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用VS 2013构建.NET 3.5项目.

I'm trying to build a .NET 3.5 project using VS 2013.

使用Chart控件的表单出现了很多错误:

I'm getting whole bunch of errors for a form that uses the Chart control:

找不到类型'System.Windows.Forms.DataVisualization.Charting.ChartArea'.请确保引用了包含此类型的程序集.如果此类型是开发项目的一部分,请确保该项目已成功完成 使用您当前平台或任何CPU的设置来构建.

Could not find type 'System.Windows.Forms.DataVisualization.Charting.ChartArea'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.

找不到类型'System.Windows.Forms.DataVisualization.Charting.Series'.请确保引用了包含此类型的程序集.如果此类型是开发项目的一部分,请确保已成功构建该项目 使用您当前平台或任何CPU的设置.

Could not find type 'System.Windows.Forms.DataVisualization.Charting.Series'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.

找不到类型'System.Windows.Forms.DataVisualization.Charting.Chart'.请确保引用了包含此类型的程序集.如果此类型是开发项目的一部分,请确保已成功构建该项目 使用当前平台或任何CPU的设置.

Could not find type 'System.Windows.Forms.DataVisualization.Charting.Chart'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.

我已经安装了.NET 3.5的图表控件

I have installed the chart control for .NET 3.5

戴夫

推荐答案

戴夫,

>>对于使用Chart控件的表单,我遇到了很多错误:

>>I'm getting whole bunch of errors for a form that uses the Chart control:

从MSDN检查时,至少应在.Net framework 4 中使用这些类.

When checking from MSDN, these classes should be used .Net framework 4 at least.

图表类  ChartArea类 系列课程

Chart Class  ChartArea Class  Series Class


这篇关于找不到类型'System.Windows.Forms.DataVisualization.Charting.Chart'等.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆