使用强名称和证书对程序集进行签名

时间:2015-01-25 21:30:37

标签: c++ visual-studio assembly-signing strong-named-key

我理解,对于强名称的C ++ dll,我需要:

  1. create a Strong-Name Key File

  2. 通过add the key propertiesSet Common Language RunTime Support所需的方式)或specify the key file we will use at: Project-> Properties-> Configuration Properties-> Linker-> Advanced-> Key File将强名称分配给项目(这种方式对我不起作用)

  3. 3.通过SN toolsn.exe -R dll_file.dll key_file.snk

    指定.dll

    由于步骤2需要Visual C ++项目更改(CLR支持或指定文件密钥),我想知道是否有一种方法可以在不更改现有项目的情况下进行签名,因为我不想触摸有效的东西。

    有什么想法吗?

0 个答案:

没有答案