how to get PublicKeyToken for nuget .\packages\SQLite.3.54.1\runtimes\win-x64\native\e_sqlite3.dll

Cacenco, Michael 0 Reputation points
2026-12-01T19:21:57.16+00:00

-checking w sn.exe gives:

Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.0

Copyright (c) Microsoft Corporation. All rights reserved.

runtimes\win-x64\native\e_sqlite3.dll does not represent a strongly named assembly

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

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.

0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-12-01T19:22:09.2666667+00:00

    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 -v verifies 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.dll is not a managed assembly manifest, so sn.exe cannot produce a PublicKeyToken for 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.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.