Visual Studio 2010中的Windows Media Player问题 [英] Windows media player problem in visual studio 2010

查看:130
本文介绍了Visual Studio 2010中的Windows Media Player问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将Visual Studio 2008项目转换为Visual Studio 2010项目时,我遇到了Windows Media Player问题.我只是删除了媒体播放器控件,但是当我再次将其放到窗体上时,出现了几个异常:
1.无法加载文件或程序集Interop.WMPLib.dll
2. AxWindowsMediaPlayer在名称空间AxWMPLib中不明确

任何答案都将有所帮助
:confused:

When I converted my visual studio 2008 project to visual studio 2010 project, I had problems with Windows Media Player. I just deleted media player control, but when I put it again on the form, I get several exceptions:
1. Could not load file or assembly Interop.WMPLib.dll
2. AxWindowsMediaPlayer is ambiguous in the namespace AxWMPLib

Any answer would be helpful
:confused:

推荐答案

看看:

http://msdn.microsoft.com/en-us/library/aa645736%28v = vs.71%29.aspx [ ^ ]
take a look at that :

http://msdn.microsoft.com/en-us/library/aa645736%28v=vs.71%29.aspx[^]


我已经发现,当我构建新项目并复制所有代码时,就可以了"很好,但还是要感谢.我会看的.
I''ve already discovered that when I build new project, and copy all the code, it''s all fine, but thanks anyway. I''ll look at it.


这篇关于Visual Studio 2010中的Windows Media Player问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆