You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Michael Greene (JIRA)" <ji...@apache.org> on 2009/05/18 06:31:45 UTC

[jira] Updated: (THRIFT-509) C# Library Does Not Provide Strong Name

     [ https://issues.apache.org/jira/browse/THRIFT-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Greene updated THRIFT-509:
----------------------------------

    Attachment: 0001-THRIFT-509.-Add-strong-name-signing-and-GAC-installa.patch

There are a couple of ways to do this, and one could be addressed in your build process, but since other packagers are running into the same issue, I think it's best that we solve it here upstream.

This patch adds a strong name keyfile with public and private keys, adds an AssemblyInfo file for more explicit naming, and causes make and make install to sign the file and invoke gacutil, respectively.

Would this work for you?

> C# Library Does Not Provide Strong Name
> ---------------------------------------
>
>                 Key: THRIFT-509
>                 URL: https://issues.apache.org/jira/browse/THRIFT-509
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>         Environment: Fedora 10 i386 - Mono version 2.0.1 - Thrift r770888
>            Reporter: Silas Sewell
>            Priority: Minor
>         Attachments: 0001-THRIFT-509.-Add-strong-name-signing-and-GAC-installa.patch
>
>
> I'm in the process of having a Thrift package reviewed for Fedora. Unfortunately the C# library is failing to register because it thinks Thrift.dll doesn't provide a "strong name".
> If this is something that could be added to the library it would be very much appreciated.
> Error:
> DEBUG: + gacutil -i lib/csharp/Thrift.dll -f -package Thrift -root /builddir/build/BUILDROOT/thrift-0.0-0.fc10.20090501svn770888.i386/usr/lib
> DEBUG: Failure adding assembly lib/csharp/Thrift.dll to the cache: Attempt to install an assembly without a strong name
> Package Review: https://bugzilla.redhat.com/show_bug.cgi?id=498873
> P.S. If I'm being stupid and this is something which I need to address in the build process please let me know.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.