Cannot find System.Drawing.dll in reference

2019-01-12 12:11发布

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

1条回答
神经病院院长
2楼-- · 2019-01-12 12:22

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

查看更多
登录 后发表回答