c#中不能使用System.Windows.Media

来源:百度知道 编辑:UC知道 时间:2024/06/15 13:19:38
请问大家一下。为什么我的c#中不能使用System.Windows.Media。
打 using System.Windows.Media; Media下会划蓝线。

说错误 命名空间“System.Windows”中不存在类型或命名空间名称“Meida”(是缺少程序集引用吗?)

我已经是完全安装了。怎么会这样???

using System.Media;

........我也遇到这样问题了 能告诉下我么

工具栏
右键
选择项
Windows.Media钩上
确定

你建一个WPF的工程,或者添加一个PresentationCore.dll的引用进来