471,071 Members | 913 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 software developers and data experts.

using Image class from console application

Helo !

I want write console application and I want to reuse
my old class, but inside it is used Image class
(and System.Drawing.Imaging namespace).

I can't complile it. The error is:

The type or namespace name 'Drawing' does not exist in the class
or namespace 'System' (are you missing an assembly reference?)

So, can I call Image (or others, ie. WinFormS, etc.) class from
console application.

Best regards,
Walter

-----
www.swietlisty.prv.pl
Nov 16 '05 #1
2 5938
In article <cb**********@news.onet.pl>, vo***@poczta.fm says...
Helo !

I want write console application and I want to reuse
my old class, but inside it is used Image class
(and System.Drawing.Imaging namespace).

I can't complile it. The error is:

The type or namespace name 'Drawing' does not exist in the class
or namespace 'System' (are you missing an assembly reference?)

So, can I call Image (or others, ie. WinFormS, etc.) class from
console application.


Add a reference to System.Drawing.dll.

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 16 '05 #2
Thanks !
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Mark Constant | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.