Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

The Orange Peanut

C# and VS.NET isnt reckognized System.Windows.Form

This topic is 5498 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Alright, I am following the tutorial's at C# Station, and the code isnt compiling. Im trying to compile the code found here, under "Events". The error exactly is "The type or namespace name 'Drawing' does not exist in the class or namespace 'System' (are you missing an assembly reference?)". How can I fix this? Thank you. [edited by - The Orange Peanut on November 29, 2003 2:32:12 AM]

Share this post


Link to post
Share on other sites
Advertisement
are you using the IDE or command line compiler?

if command line compiler you must add a switch to add a reference to the System.Drawing.dll assembly

if the IDE, go to the "solution explorer" then to the project you are dealing with, then to "references", right click and choose "add reference" and scroll down to "System.Drawing.dll" and add it ...

good luck

Share this post


Link to post
Share on other sites
You have to add a reference to the System.Drawing assembly. You need to right click on the refrences list in the solution browser window(whatever it''s called) and click add refrence and add it.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!