在参考中找不到 System.Drawing.dll [英] Cannot find System.Drawing.dll in reference

查看:22
本文介绍了在参考中找不到 System.Drawing.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个奇怪的问题.我正在为 Windows Phone 使用 Visual Studio 2010 Express,并希望引用 System.Drawing.dll.我在项目中右键单击引用"并单击添加引用...",但是,我在 .NET 选项卡下找不到 System.Drawing.dll.任何想法为什么?谢谢!

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!

推荐答案

这是一个 Winforms 程序集,它需要宿主操作系统支持 GDI+,而 wp7 不支持.

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

看看 System.Windows.Media 代替

这篇关于在参考中找不到 System.Drawing.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆