[MonoDevelop] Howto ZedGraph

Betatux betatux at gmail.com
Sat Apr 7 18:58:16 EDT 2007


Anyone using ZedGraph ?  I can't seem to make use of it in my 
Monodevelop Environment.

- Firstly I've downloaded the zedgraph_dll_v508_458 package from 
sourceforge.
- After that I extracted the package and copied the ZedGraph.dll (v458) 
to /usr/lib/mono/1.0.
- Then I installed the package, sudo gacutil -i ZedGraph.dll
->> returns >> ZedGraph installed into the gac (/usr/lib/mono/gac)

ZedGraph Installation Complete.

I start Monodevelop (0.12),
I create a new Gtk#2.0 Project named Test,
I edit the references and Add ZedGraph to my project,

// project created on 4/8/2007 at 12:51 AM
using System;
using Gtk;

namespace Test
{
    class MainClass
    {
        public static void Main (string[] args)
        {
       
            ZedGraph.ZedGraphControl zgc;
       
        }
    }
}

In my Test project I declare a ZedGraphControl object:

ZedGraph.ZedGraphControl zgc;

When i Build and Run the application I'm getting these 4 errors

1) 0   b77a5c561934e089(Key)
2) 0   1.0.5000.0
3) 0   System.Windows.Forms (assemblyref_index=1)
4) 12 The type or namespace name `ZedGraphControl' does not exist in the 
namespace `ZedGraph'. Are you missing an assembly reference?(CS0234)

Any ideas on how to proceed ?

Best Regards,
Betatux


More information about the Monodevelop-list mailing list