如何添加System.Windows的DLL的Visual Studio 2010的前preSS? [英] How to add System.Windows dll to Visual Studio 2010 express?

查看:141
本文介绍了如何添加System.Windows的DLL的Visual Studio 2010的前preSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的 C#的和开发的小应用程序的 VS2010 的作为的 IDE 的用的 .NET Framework 4的的。

I am developing a small application using C# and VS2010 as IDE with .NET Framework 4.

我想为了从笔记本电脑的摄像头拍摄的视频使用 CaptureSource 类。
为此,我需要添加一个命名空间 System.Windows.DependencyObject

I want to use CaptureSource class in order to capture video from laptop's webcam.
For that i need to add a namespace System.Windows.DependencyObject.

我如何添加呢?在解决方案资源管理器的,如果我右键点击的引用的的,然后的 .NET 的标签,我将无法看到 System.Windows 。请参阅附件一样的。

How can I add this? In the Solution Explorer, if I right clicked on Referenced, then .NET tab, I wont be able to see System.Windows. Please see the attached file the same.

请人帮我增加这个的 System.Windows DLL 的。

Please anyone help me in adding this System.Windows dll.

提前
谢谢 斯里兰卡

Thanks in Advance
Sri

推荐答案

根据这个的 MSDN页面类是在WindowsBase.dll中的文件。

According to this MSDN Page the class is in the WindowsBase.dll file.

Namespace:  System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

的DependencyObject是一个类不能添加它作为一个命名空间。你可以做的最接近的就是添加它位于命名空间:

DependencyObject is a class you cannot add it as a namespace. The closest thing you can do is add the namespace it is located in:

using System.Windows;

这篇关于如何添加System.Windows的DLL的Visual Studio 2010的前preSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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