Vb.net Windows Media Player未在使用visual studio应用程序的Windows XP上运行

Vb.net Windows Media Player未在使用visual studio应用程序的Windows XP上运行,vb.net,winforms,visual-studio-2010,entity-framework-4,wmp,Vb.net,Winforms,Visual Studio 2010,Entity Framework 4,Wmp,我已在windows 7 Framework 4.0上运行的Visual Studio 2010应用程序中嵌入WMP控件,但在winXP上安装该应用程序时,出现以下错误: System.IO.FileNotFoundException: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

我已在windows 7 Framework 4.0上运行的Visual Studio 2010应用程序中嵌入WMP控件,但在winXP上安装该应用程序时,出现以下错误:

System.IO.FileNotFoundException: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
   at Aquila_Media_Manager.modMediaPlayer.Play_File()
   at Aquila_Media_Manager.MainForm.tsbPlay_Click(Object sender, EventArgs e) in C:\Users\Micba\Documents\Visual Studio 2010\Projects\Aquila MedMan\MainForm.vb:line 2718
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!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 [HKLM\Software\Microsoft\Fusion!EnableLog].
我想这是一个参考问题,但我已经添加了对WMP库axinterop.wmplib.dll和interop.wmplib.dll的参考。WMP在XP机器上工作,但从我的应用程序调用时不工作

我已经在网上搜索了5天,更改了参考资料,并在XP机器上重新安装了媒体播放器,但没有任何效果


感谢您的帮助。

将构建配置更改为x86,而不是任何CPU。这将把它构建为一个32位应用程序,Interop.WMPLib可以正常工作。问题是,至少据我所知,目前还没有一个64位的互操作WMPLib版本