Question

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.

Était-ce utile?

La solution

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%"
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top