文件打强名
VS command line:
sn(,) -Ra(,) dll file path(,) UnifiedSuite.pair.snk file path
sn -Ra C:\Users\Administrator\Desktop\PSWGS.Cad.Server.Reporting.I18NExtension.dll C:\Allen\P1-
Main\Product\Common\Software\Build\UnifiedSuite.pair.snk
查看一个文件是否打过强名:
sn -v PSWGS.Common.dll
.dll does not represent a strongly named assembly --没打过强名
PSWGS.Cad.Client.Commands.dll' is valid --打强名成功