Error while adding a reference "PresentationCore.dll" RRS feed

  • Question

  • I want to resize images captured from a webcam and for that I am trying to use System.Windows.Media.Imaging namespace. Problem arises when I add PresentationCore.dll to my project. It gives me 6 errors. Three of them say that :

    Cannot resolve Assembly or Windows Metadata file 'System.XAML.dll'

    Other three are like this one:

    Type universe cannot resolve assembly: System.Xaml, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089.

    then I added System.XAML.dll to the project.

    Still im getting an error for all of my xaml files, which is

    Object reference not set to an instance of an object.

    Am i missing something? plz help.
    Wednesday, December 4, 2013 5:58 AM