GAC (gacutil) not working with IronPython.dll on Mono

本秂侑毒 提交于 2020-01-06 02:59:09

问题


I tried to use gacutil (mono) for IronPython, but I got the following error.

sudo gacutil -i IronPython.dll 
Password:
Failure adding assembly IronPython.dll to the cache: Strong name cannot be verified for delay-signed assembly

What does this mean? Any solution to this problem?


回答1:


Did you build IronPython yourself? Signing is kind of a PITA and you'll need to provide your own full key to get a real signature. We do include the MS public key in the distribution but this can only be used for delay signing. We do have delay signing turned on in the build which might result in a delay signed build even if you use a full key (I'm not sure what the compilers do here).

You can probably fully sign the assembly using sn or Mono's equivalent. You also may be able to disable verification before installing in the GAC by using sn as well (this is what we when we develop IronPython).



来源:https://stackoverflow.com/questions/3902032/gac-gacutil-not-working-with-ironpython-dll-on-mono

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!