how to add wpf mediakit to my project?

Apr 22, 2013 at 9:53 AM
Edited Apr 22, 2013 at 10:46 AM
I referenced WPFMediaKit.dll to my project and this is my xaml:

<Window x:Class="WPFCameraTest.Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Controls="clr-namespace:WPFMediaKit.DirectShow.Controls;assembly=WPFMediaKit"
Title="Window2" Height="300" Width="300">
<Grid>
<Controls:VideoCaptureElement ></Controls:VideoCaptureElement>
</Grid>

But i get the error:

Assembly 'WPFMediaKit' was not found.

What i'm skipping?
Apr 22, 2013 at 11:14 AM
I moved my project folder to c: and now it can find 'WPFMediaKit' but I get a new error:
The name "VideoCaptureElement" does not exist in the namespace "clr-namespace:WPFMediaKit.DirectShow.Controls;assembly=WPFMediaKit".