【发布时间】:2011-08-24 15:39:42
【问题描述】:
在我的项目中,我需要使用这个命名空间:
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
但是当我编译时,我得到一个错误:The type or namespace name 'xxx' does not exist in the namespace 'System.Windows'. Are you missing an assembly reference ?
我尝试添加此引用,但未在列表中找到。
我能做什么?
提前感谢您的回复。
【问题讨论】:
-
我猜你正在使用 Monodevelop?您使用的是什么发行版?哪个单声道版本?你确定你安装了 System.Windows.Forms 库吗? (例如在 Ubuntu 上它可能没有安装,因为 Monodevelop 不依赖它)
-
是的,我正在使用 Monodevelop 2.5.90 和 Mono 2.10.4。我在 Ubuntu 上有 System.Windows.Forms。我想我需要得到月光,不是吗?
标签: mono assemblies reference