sign assembly

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Boni

    sign assembly

    Dear all,
    I use 3-d party assembly in my project. This assembly is not signed. Now I
    added to my project a AssemblyKeyFile Attributefor my assebly.As the result
    of that, I get a error:
    error BC30145: Unable to emit assembly: Referenced assembly 'Interop.XXXX'
    does not have a strong name

    Is there any solution for that?

    Thanks, Boni


  • Mattias Sjögren

    #2
    Re: sign assembly

    [color=blue]
    >Is there any solution for that?[/color]

    Ask the assembly vendor if they can provide a signed assembly (it
    looks like it's an interop assembly so ask for a PIA).



    Mattias

    --
    Mattias Sjögren [MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    • Janet

      #3
      RE: sign assembly

      Generate a .snk key file and in project properties, set the Wrapper Assembly
      Key file to the .snk file you just created.
      This will sign the Interop dll.

      "Boni" wrote:
      [color=blue]
      > Dear all,
      > I use 3-d party assembly in my project. This assembly is not signed. Now I
      > added to my project a AssemblyKeyFile Attributefor my assebly.As the result
      > of that, I get a error:
      > error BC30145: Unable to emit assembly: Referenced assembly 'Interop.XXXX'
      > does not have a strong name
      >
      > Is there any solution for that?
      >
      > Thanks, Boni
      >
      >
      >[/color]

      Comment

      Working...