locked
Can't sign WRL-based assembly with Strong Name

    Question

  • Hi dear experts!

    I have two projects, the first one is Windows Runtime Component, that generates output winmd-file and the second one is the Windows Runtime Component uses Windows Runtime C++ Template Library with WinRT and COM inside.

    I try to sign both assemblies with Strong Names by using the compiler.

    I've generated SN keys, using sn.exe, then I tried to specify the location of a key file in the Advanced property page in the Linker section of the Configuration Properties section of the Property Pages window and build my project (doesn't matter, which one - result the same), VS2013 ignores both sections: Key File and Delay Sign. Output dll was not signed. The same behaviour with Windows Metadata Key File and Windows Metadata Delay Sign (I need to sign winmd-files too).

    Not good, but not fatal. I've found workaround and use Additional Options of Command Line property page. I've added /WINMDKEYFILE:file_name and /WINMDDELAYSIGN mannually, built my project and everything is OK! But just for pure WRC project. The same manipulations with "WRL" project don't work. 

    Could you, please, explain me, how can I sign WRL-based project? Thanks in advance.  

    Wednesday, October 15, 2014 11:08 AM

All replies

  • Hi Serzubov,

    I am trying to involve someone familiar with this issue to come into this thread. Thank you for your understanding.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Friday, October 17, 2014 5:57 AM
    Moderator
  • Hi Herro Wong!

    Thanks for your response! I'm still stuck with this issue. There is no one familiar with this issue? 

    Best regards!

    Wednesday, October 22, 2014 4:55 AM
  • Have you got the chance to test following the doc http://msdn.microsoft.com/en-us/library/xc31ft41(v=vs.110).aspx ?

    Regrds,

    Jenny

    Tuesday, October 28, 2014 9:45 AM
  • Hi, Jenny!

    Yes, I've tested all MSDN manuals and How Tos. It doesn't help me.

    Regards, serzubov

    Friday, November 07, 2014 6:58 AM