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

Add strong name to this NuGet #53

Closed
maxkoshevoi opened this issue Dec 17, 2020 · 2 comments
Closed

Add strong name to this NuGet #53

maxkoshevoi opened this issue Dec 17, 2020 · 2 comments

Comments

@maxkoshevoi
Copy link

maxkoshevoi commented Dec 17, 2020

Could you please add string name to this assembly? I cannot reference it in my project that is strongly named.

First I get this warning on compile time:

CS8002	Referenced assembly 'Priority Queue, Version=4.2.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

And than this error on runtime:

System.IO.FileLoadException: Could not load file or assembly 'Priority Queue, Version=4.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
@toeb
Copy link

toeb commented Feb 11, 2021

I am having the same issue.
I will be trying this https://stackoverflow.com/questions/1220519/how-to-sign-a-net-assembly-dll-file-with-a-strong-name in the mean time

@BlueRaja
Copy link
Owner

The assemblies are now Strong Name signed in 5.1.0.

I've included the private keys in the repo, as recommended by Microsoft. This comes as a surprise to many people, but Strong Names are not a security feature.

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

3 participants