简体   繁体   English

ASP.NET找不到DevExpress.XtraCharts

[英]ASP.NET can not find DevExpress.XtraCharts

I'm working on ASP.NET project and I need to draw a point chart in my project, I choosed to use DevExpress to do this job. 我正在研究ASP.NET项目,需要在项目中绘制一个点图,我选择使用DevExpress来完成此工作。 So, I've tried to use one of this two examples: example 1 , example 2 , but I'm getting this problem: The type or namespace name 'XtraCharts' does not exist in the namespace 'DevExpress' (are you missing an assembly reference?) Ps: I've worked with DevExpress before in Windows Form, and I used exmple 2 and I didn't get any problem. 因此,我尝试使用以下两个示例之一: 示例1示例2 ,但是我遇到了这个问题: The type or namespace name 'XtraCharts' does not exist in the namespace 'DevExpress' (are you missing an assembly reference?) PS:我已经在DevExpress的Windows窗体的工作之前,我用exmple 2,我没有得到任何问题。 How can I fix it? 我该如何解决?

As I mentioned in the comments you will need to add the appropriate DLL. 正如我在评论中提到的那样,您将需要添加适当的DLL。 To do so you'll have to do the following: 为此,您必须执行以下操作:

  1. Right click on Reference in your project 右键单击项目中的“引用”
  2. Then click on Add Reference 然后点击添加参考
  3. The Reference Manager window will popup 引用管理器窗口将弹出
  4. Expand the Assemblies Node and choose Extensions 展开装配体节点并选择扩展
  5. Scroll through the list and choose the correct DevExress DLL in your case XtraCharts 滚动浏览列表,然后根据情况选择正确的DevExress DLL XtraCharts
  6. Click on OK 点击确定

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM