How to reference Image Class in C# winforms?
<p>I'm making a new Project which is a class library.</p>

<p><img src="http://i.stack.imgur.com/1cX90.png" alt="alt text"></p>

<p>my problem is I always got this error:</p>

<pre><code>The type or namespace name 'Drawing' 
does not exist in the namespace 'System' (are you missing an assembly reference?)
</code></pre>

<p>this is my code: </p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace ClassLibrary1
{
    public class Class1
    {
        public void ReturnImage(object imageStream)
        {
            try
            {
                byte[] data = (byte[])imageStream;
                MemoryStream ms = new MemoryStream(data);
                return Image.FromStream(ms);
            }
            catch
            {
            }
        }
    }
}
</code></pre>

<p>I'm planning to use this class to serve as a repository of common methods that I will be reusing in my program. In the above code, I have a public method <code>ReturnImage</code> which supposedly will accept an object and returns an <code>Image</code>.</p>

<p>But why I get that error? Please help...</p>
