The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

Beginners question

Last post 10-01-2008, 4:33 PM by IgnoranceIsBliss. 2 replies.
Sort Posts: Previous Next
  •  09-23-2008, 7:53 AM 8410

    Beginners question

    I am using Interop.WMPLib.dll in order to play mp3 files.  I can get it working fine on my local machine, but when I try to put the app on a server and install the DLL into the GAC I get the following error :

    Failure adding assembly to the cache: Attemp to install an assembly without a strong name.

    How do I solve this? I can't give the DLL a strong name as I don't have the source code.

     

    Thanks,

    Mike

  •  09-23-2008, 9:08 AM 8411 in reply to 8410

    Re: Beginners question

    One of the features of managed code is that it only gets compiled to an intermediate language, not assembly language.   You can decompile it using ILDasm and then recompile it with strong name signing.  A tutorial on how to do this is here:

    http://www.andrewconnell.com/blog/archive/2004/12/15/772.aspx

    It's the second bit (starts with "However")

    Cheers,
    Andrew

  •  10-01-2008, 4:33 PM 8430 in reply to 8411

    Re: Beginners question

    Just a quick question - are you using WMPLib to PLAY the files, or are you just using it to access the media library? PlayMedia would be the best solution for actually playing the MP3s.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems