A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
sn.exe can only get a public key token from a strong-named .NET assembly. The error means e_sqlite3.dll is not a strongly named assembly, so it does not have a .NET PublicKeyToken.
Relevant facts:
-
sn.exe -vverifies the strong name of an assembly manifest file. - A strong name token is the shortened form of the public key used to sign an assembly.
- A strong-named assembly has an identity made from its name, version, culture, public key, and digital signature.
- A native DLL like
runtimes\win-x64\native\e_sqlite3.dllis not a managed assembly manifest, sosn.execannot produce aPublicKeyTokenfor it.
If the goal is a .NET assembly PublicKeyToken, use the managed assembly instead of the native runtime DLL.
If the goal is a certificate-based token, the available Microsoft tool in the context is Pktextract.exe, which extracts the publicKeyToken from a certificate file (.cer), not from a native DLL.