How to add System.Windows dll to Visual Studio 2010 express?

10,529

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

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

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;
Share:
10,529
Sri
Author by

Sri

Updated on June 04, 2022

Comments

  • Sri
    Sri almost 2 years

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

    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.

    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.

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

    Thanks in Advance
    Sri

  • Sri
    Sri almost 13 years
    hi magnifico, thanks for your quick response. i tried to locate WindowsBase.dll but failed. Do you have any idea?
  • Sri
    Sri almost 13 years
    hi magnifico, i could find out the windowsBase.dll, even after adding that dll into the "references" i'm not able to use System.Windows.DependencyObject namespace. Any solution?