签署已编译的.NET DLL
?
这个问题的答案应该是here所描述的内容。
答案 0 :(得分:1)
SET INSTR_PATH=your.compiled.dll
SET SNK_FILE=your.key.snk
SET IL_PATH=%INSTR_PATH%.il
SET SIGNED_PATH=%INSTR_PATH%.signed.dll
ildasm "%INSTR_PATH%" /out:"%IL_PATH%"
ilasm "%IL_PATH%" /dll /key="%SNK_FILE%" /output="%SIGNED_PATH%"