Search code examples
c#.netwpfdirectshowwpf-mediakit

An unhandled exception of type 'System.IO.FileLoadException' occurred


I have a library called DirectShowLib-2005 v2.1.0.0

http://api.256file.com/directshowlib-2005.dll/en-download-20911.html

in my project called xyz... it runs perfectly fine until i add WPFMediaKit library

As a Note: It uses DirectShowLib-2005 Internally

After adding this WPFMediaKit Library it throws an Error

Additional information: Could not load file or assembly 'DirectShowLib-2005, Version=2.1.0.0, Culture=neutral, PublicKeyToken=67e7b740cdfc2d3f' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Thanks in Advance!


Solution

  • WPFMediaKit has build    DirectShowLib-2005 v 2.1.0.26626
    You directly downloaded  DirectShowLib-2005 v 2.1.0.0
    

    You probably should delete the original one you downloaded.