Since I'm interested in using DirectShow and / or Media Foundation in WPF, the WPF MediaKit seems like a good library for my needs. However, I haven't got it to work yet.
2 out of 5 .dlls can't be added as reference to my project. To following error is shown:
A reference to '....dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
The other dlls seem to work just fine, in code. But in the XAML designer, the WPF Media Kit doesn't seem to be usable at all.
The above line generates the following error:
Unable to load the metadata for assembly 'WPFMediaKit'. This assembly may have been downloaded from the web. See
. The following error was encountered during load: Could not load file or assembly 'WPFMediaKit, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null'
or one of its dependencies. The system cannot find the file specified.
Despite of this error, running my project is no problem.
What's happening here? And since when can you run projects whilst having errors in it?