ITbob / excellibrary

Automatically exported from code.google.com/p/excellibrary
0 stars 0 forks source link

Signed Assembly #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Can you sign the assembly?

Original issue reported on code.google.com by simonsam...@googlemail.com on 31 Jul 2009 at 10:15

GoogleCodeExporter commented 8 years ago
You can do it yourself :)

create bat-file & execute it:

echo ------------------------------------------------------------------------
echo off
cls

echo
echo source article: '.NET-fu: Signing an Unsigned Assembly (without Delay 
Signing)' 
[http://buffered.io/2008/07/09/net-fu-signing-an-unsigned-assembly-without-delay
-signing/]
echo 

echo  Generating signature..
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\sn" -k ExcelLibrary.snk

echo  Disassembling dll to il..
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\ildasm" /all 
/out=ExcelLibrary.il ExcelLibrary.dll

echo  Generating signed dll..
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ilasm" /dll /quite 
/key=ExcelLibrary.snk ExcelLibrary.il

pause
echo ------------------------------------------------------------------------

Original comment by golova1...@gmail.com on 22 Jul 2011 at 3:45

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by jetcat on 17 Feb 2013 at 11:16

GoogleCodeExporter commented 8 years ago
I really think the assembly should be signed.

Although I can sign it myself, that doesn't work with our automated build 
process. Nuget downloads packages automatically during build. We don't add the 
DLL to the source control system (git).

Original comment by pnew...@aurora-solutions.net on 3 Mar 2014 at 4:06