none
Assembly generation failed -- Referenced assembly does not have a strong name RRS feed

  • Question

  • My program is one of the C# project of a Solution of which assemblies are in the same name space.

    And my program references a DLL which is within the same name space.

    I'm making my project to be callable from other unmanaged program like C++ or VB6.

    I created strong key file using "sn -k TestKeyPair.snk".

    And I added assembly like following.

    [assembly: AssemblyKeyFile((@"..\Deployment\Release\TestKeyPair.snk")]

    If I rebuild, following error occur.

    Error	76	Assembly generation failed -- Referenced assembly 'MyRefDll' does not have a strong name
     

    "MyRefDLL" is the dll my program is referencing.

    Why this error occur?

    Can anybody give me some advice?

    Wednesday, January 2, 2019 7:19 PM

All replies