我理解,对于强名称的C ++ dll,我需要:
通过add the key properties(Set Common Language RunTime Support所需的方式)或specify the key file we will use at: Project-> Properties-> Configuration Properties-> Linker-> Advanced-> Key File将强名称分配给项目(这种方式对我不起作用)
3.通过SN tool:sn.exe -R dll_file.dll key_file.snk
由于步骤2需要Visual C ++项目更改(CLR支持或指定文件密钥),我想知道是否有一种方法可以在不更改现有项目的情况下进行签名,因为我不想触摸有效的东西。
有什么想法吗?