#2236·Dapper

Dapper.StrongName 2.1.86 fails strong-name signature verification (all TFMs) — works in 2.1.79

Author: GlennCameronNZCreated Sep 22, 2026Updated Sep 23, 2026

Description Dapper.StrongName 2.1.86 fails strong-name signature verification (sn -vf) on every target framework build in the NuGet package, while 2.1.66 and 2.1.79 pass. This breaks loading on .NET Framework, which enforces strong-name verification at assembly load time.

Repro Could not load file or assembly 'Dapper.StrongName' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Thrown by a .NET Framework 4.8 web app referencing Dapper.StrongName 2.1.86 via PackageReference.

Verified directly with sn.exe against the DLLs extracted from the NuGet package cache (%userprofile%.nuget\packages\dapper.strongname):

> sn -vf Dapper.StrongName.dll   (2.1.86, lib\net461)
Failed to verify assembly -- Strong name validation failed.

> sn -vf Dapper.StrongName.dll   (2.1.86, lib\net8.0)
Failed to verify assembly -- Strong name validation failed.

> sn -vf Dapper.StrongName.dll   (2.1.86, lib\net10.0)
Failed to verify assembly -- Strong name validation failed.

> sn -vf Dapper.StrongName.dll   (2.1.86, lib\netstandard2.0)
Failed to verify assembly -- Strong name validation failed.

Same check against 2.1.79 and 2.1.66, all pass:

> sn -vf Dapper.StrongName.dll   (2.1.79, lib\net461)
Assembly '...' is valid

> sn -vf Dapper.StrongName.dll   (2.1.66, lib\net461)
Assembly '...' is valid