Advertisement Jump to content
Sign in to follow this  
Geekwad

System.Drawing error

This topic is 4931 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

I'm attempting to create a basic DirectX app from the Tutorial at http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_m/directx/direct3d/tutorials/tutorial1.asp I get, what I think might be, a common error on the line using (CreateDevice frm = new CreateDevice()) A breakpoint suggests that it doesn't even enter the CreateDevice constructor. The error is: ------------- An unhandled exception of type 'System.IO.FileNotFoundException' occurred in DirectXTest.exe Additional information: File or assembly name System.Drawing, or one of its dependencies, was not found. ------------- I DO have a reference for System.Drawing in the solution. I have using System; and using System.Drawing; in my code and I checked that the file C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Drawing.dll (which is referenced) exists. I got the same error when I tried to run a tutorial from a different page, as well. Any ideas?

Share this post


Link to post
Share on other sites
Advertisement

This topic is 4931 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.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • 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!