ObjectsComparer icon indicating copy to clipboard operation
ObjectsComparer copied to clipboard

NuGet packages not strong named

Open adancy opened this issue 2 years ago • 3 comments

I don't know if this is just the latest version, but when trying to use the NuGet packages for ObjectsComparer they do not appear to be strongly named. This means we're not able to use the library without having to either manually re-sign the package, or download from source and compile. Any chance packages could be strongly named going forward?

adancy avatar Nov 03 '21 10:11 adancy

Can you please provide the text of the error? "we're not able to use the library without having to either manually re-sign the package" is it because of some specific settings of your project?

ValeraT1982 avatar Nov 03 '21 16:11 ValeraT1982

It's because our own app is strong name signed, and that then requires all referenced libraries to also be strong named (see https://docs.microsoft.com/en-us/dotnet/standard/assembly/strong-named)

The specific error is "Assembly generation failed -- Referenced assembly 'ObjectsComparer' does not have a strong name"

For now we've worked around it by recompiling the library with strong name enabled so this isn't urgent.

adancy avatar Nov 03 '21 16:11 adancy

Thanks for the additional info. I'll have a look.

ValeraT1982 avatar Nov 03 '21 16:11 ValeraT1982