سؤال

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.

هل كانت مفيدة؟

المحلول

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%"
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top