开发者

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

I tried to use gac开发者_C百科util (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?


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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜