This project has moved. For the latest updates, please go here.

Signed version

Jan 25, 2012 at 1:37 PM

Can you sign (strong name) your naudio.dll ?

I have a signed project and want to reference your dll.

 

Thanks!

/Bernd

Coordinator
Jan 25, 2012 at 1:58 PM

Yes, I mean to sign NAudio in the future as a few people have asked for this now. The workaround for now is to build it yourself and sign it.

Jan 25, 2012 at 2:39 PM

Yes. I signed it myself already.

But of course its better to have the officially released signed version. Well than.. write it in the naudio news, if you have introduced signed assemblies.

Aug 21, 2012 at 1:29 PM

The DLL can be manually signed without rebuilding (necessary with 1.5 as source is missing the Midi library so won't compile currently) - direct from DLL binary...

- Delete reference in project to NAudio.dll

- Start VS2010 Command Prompt

- CD to NAudio.DLL directory

- Create a random SNK keypair file using [SN.EXE -k NAudio.snk]

- Disasemble NAudio.dll to IL using [ildasm /all /out=NAudio.il NAudio.dll]

- Rebuild IL with strong key pair using ILASM [ilasm /dll /key=NAudio.snk NAudio.il]

- Re-add recference to NAudio.dll in my project

- F6 rebuild in VS2010 - all done

 

Note: You may want to back up NAudio.dll (as an un-signed version first).