SNK Key Generator
Generate a valid .snk file for .NET strong-name signing directly in your browser and copy the matching Directory.Build.props entry.
Settings
→ MySolution.snk
Private key handling
For closed-source projects, keep the .snk file private — anyone with it can sign assemblies as your package. For open-source projects, it is common practice to commit the .snk file to the repository so that contributors and CI can build and sign the assembly.
Usage
- Store the downloaded .snk file at the configured path in your repository or build environment.
- Then add the generated XML to your Directory.Build.props to enable strong-name signing.
The key pair is generated locally in your browser. No data is sent to a server.
Output
Generate a key to download the .snk file and copy the props snippet.