Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

managed c++ strong name/signing

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.

like image 222
zezba9000 Avatar asked Jul 22 '26 06:07

zezba9000


1 Answers

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.

like image 101
pstrjds Avatar answered Jul 28 '26 15:07

pstrjds



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!