Aug 8, 2011
I have embedded the WMP control in my Visual Studio 2010 app which works on windows 7 (Framework 4.0), but installing the app on winXP, I get the following error:
View 1 Replies
System.IO.FileNotFoundException: Could not load file or assembly 'Interop.WMPLib, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.WMPLib, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null'
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].
I guess this is a reference issue, but I have added references to WMP libraries (axinterop.wmplib.dll and interop.wmplib.dll). The WMP works on the XP machine, but not when called from my application.I have searched the web now for 5 days and changed references, and reinstalled the media player on the XP machine, but nothing works.