Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NuGet packages not strong named #34

Open
adancy opened this issue Nov 3, 2021 · 3 comments
Open

NuGet packages not strong named #34

adancy opened this issue Nov 3, 2021 · 3 comments

Comments

@adancy
Copy link

adancy commented Nov 3, 2021

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?

@ValeraT1982
Copy link
Owner

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?

@adancy
Copy link
Author

adancy commented Nov 3, 2021

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.

@ValeraT1982
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants