Could not find type 'AxWMPLib.AxWindowsMediaPlayer' RRS feed

  • Question

  • I created a mp3 music file player (a Windows Form application) in VS2013. I added a windows media player tool to a form using the VS toolbox and everything worked OK. I recently installed VS2015 Community and when I used it to modify the music player application I get the following error when opening the form containing the WMplayer tool:

                    Could not find type 'AxWMPLib.AxWindowsMediaPlayer'

    Am I missing a "using" statement or what is needed?

    Sigsby Rusk

    Monday, January 23, 2017 5:51 PM


  • Hi s.rusk,

    Please remove the assembly AxWMPLib from your Reference folder and add it back again.

    Then, make sure that the correct using is located in the file. It should be added automatically but if it's missing, check to see if it solves your issue.

    Best regards,

    Cole Wu

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by s.rusk Friday, January 27, 2017 12:19 AM
    Tuesday, January 24, 2017 6:44 AM