如何添加System.Windows的DLL的Visual Studio 2010的前preSS?DLL、Windows、System、Visual

2023-09-07 09:25:50 作者:陪你一起成长

我使用的 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;