You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All assemblies in my project are signed. But when I try to use Nuget's HidSharp component the application is giving the error below at runtime.
Could not load file or assembly 'HidSharp, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Is there a way to publish this library with strong-name or is there a reason not to?
The text was updated successfully, but these errors were encountered:
I'm not sure if this comes even back to the original package... but anyway.
As an OSS maintainer and contributor to multiple C# projects, I want to point out the following:
The need for strongly-named assemblies is disputable, and they bring difficulties which I myself also do not like to handle (keep the sign key separate). There however is a need from other strong named assemblies which need to have this as a dependency, this is not possible if the dependency is not strongly named.
But other projects use them and I acknowledge the need from these others being dependent on my nugets, I handle this with my projects similar to what other projects do, we sign the library but keep the key simply in the repository. This reduces the chance that when I no longer can maintain the project, the whole eco-system might be struck like there was some time with log4net.
This repo is just a kind of mirror, and I have no affiliation with the Nuget package owner, I recommend that you follow up on this topic with the original author. https://forum.zer7.com/topic/10108/
All assemblies in my project are signed. But when I try to use Nuget's HidSharp component the application is giving the error below at runtime.
Is there a way to publish this library with strong-name or is there a reason not to?
The text was updated successfully, but these errors were encountered: