Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

VS2013 ignores /KEYFILE and /DELAYSIGN flags for WRL

$
0
0

Hi!

I have two projects, the first one is Windows Runtime Component, that generates output winmd-file and the second one is the Windows Runtime Library, that uses WinRT interfaces and exports COM interfaces and generates output winmd-file too.

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 theAdvanced 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 withWindows 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 Optionsof Command Line property page. I've added /WINMDKEYFILE:file_nameand /WINMDDELAYSIGN mannually, built my project and everything is OK!But just for WRC project. The same manipulations with WRL project don't work. 

Could you, please, explain me, how can I sign both my projects with strong names? Thanks in advance.

 



Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>