3
votes

How can I sign a managed c++ dll with a .pfx file??

Or is there a way to include the unsigned managed c++ dll in a signed c# project? I realy dont need a signed dll I just need VS to stop giving me the Error "Referenced assembly 'SlimDX' does not have a strong name." in my c# project that must be signed.

1

1 Answers

2
votes

If you are building the dll, there is a post build step in VS that will allow you to run the signing utility. Check out this link (for .Net 4.0, there are other versions available from the page) http://msdn.microsoft.com/en-us/library/xc31ft41.aspx

On another note, I don't think you will be able to sign your dll and include an unsigned dll, so you will either have to sign the C++/CLI dll or not sign yours.