Cannot find System.Drawing.dll in reference

Go To StackoverFlow.com

1

I'm having a weird problem. I'm using Visual Studio 2010 Express for Windows Phone and want to refer System.Drawing.dll. I right-clicked "reference" in the project and clicked "Add reference...", however, I cannot find System.Drawing.dll under .NET tab. Any ideas why? Thanks!

Fei

2012-04-05 00:44
by Fei Qu
That's a Winforms assembly, it requires the host OS to support GDI+. Not available on a phone. Not actually something you should worry about much, GDI+ is, erm, special - Hans Passant 2012-04-05 00:52


5

That's a Winforms assembly, it requires the host OS to support GDI+, which is not available for wp7.

Have a look at System.Windows.Media instead

2012-04-05 00:49
by thumbmunkeys
Ads