NLog.Targets.GraylogHttp icon indicating copy to clipboard operation
NLog.Targets.GraylogHttp copied to clipboard

Assembly is not strong named

Open mathieuchateau opened this issue 5 years ago • 4 comments

Hello,

Can you strong name your assembly ? I can't get it working without :'(

System.IO.FileLoadException: Could not load file or assembly 'NLog.Targets.GraylogHttp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
File name: 'NLog.Targets.GraylogHttp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Thanks in advance, Mathieu Chateau

mathieuchateau avatar Feb 12 '20 14:02 mathieuchateau

I tried to do it through Pull request 119 https://github.com/dustinchilson/NLog.Targets.GraylogHttp/pull/119

mathieuchateau avatar Feb 12 '20 15:02 mathieuchateau

Sorry, I completely missed this case.

what is you're use case for signing the assembily?

dustinchilson avatar May 07 '20 11:05 dustinchilson

Either way, seems like a good idea, https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming

dustinchilson avatar May 07 '20 11:05 dustinchilson

Sorry, I completely missed this case.

what is you're use case for signing the assembily?

I build a sotfware, which is protected by SmartAssembly. This require strong names

mathieuchateau avatar May 07 '20 14:05 mathieuchateau