How I do a sign an assembly that has already been built into a dll specifically flute.dll

后端 未结 5 1107
故里飘歌
故里飘歌 2020-12-12 21:37

The reason I want to sign the dll is because I want to add it to the Global Assembly Cache. The assembly is a css parsing engine written in Java and ported to J#. I use VS20

5条回答
  •  情书的邮戳
    2020-12-12 22:03

    Step 1: Dis-assemble the assembly

    ildasm myTest.dll /out:myTest.il 
    

    Step 2: Re-Assemble using your strong-name key

    ilasm myTest.il /res:myTest.res /dll /key:myTest.snk /out:myTestSN.dll 
    

    For verification you can use following command:

    sn -vf myTestSN.dll
    

    Hope this helps!

提交回复
热议问题