Pregunta

What would be the set of batch file commands that signs an already compiled .NET DLL?

The answer to this question should do what is described here.

¿Fue útil?

Solución

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%"
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top