dotnet-strong-name-signing

Generates .snk strong name key files for signing .NET assemblies via pure cryptography.

3|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/codebeltnet/agentic --skill dotnet-strong-name-signing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-strong-name-signing
Source: https://github.com/codebeltnet/agentic/tree/main/skills/dotnet-strong-name-signing
Command: npx skills add https://github.com/codebeltnet/agentic --skill dotnet-strong-name-signing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to generate strong name key (.snk) files for signing .NET assemblies without requiring Visual Studio's Developer PowerShell or the sn.exe tool, making the process accessible in any terminal.

Core Features & Use Cases

  • Cross-Platform Key Generation: Creates .snk files using pure .NET cryptography, compatible with Windows, macOS, and Linux.
  • Simplified Signing Workflow: Integrates seamlessly into .csproj files or Directory.Build.props for automated assembly signing.
  • Use Case: When developing a public NuGet package, use this Skill to generate the necessary .snk file to ensure proper assembly identity and compatibility with other signed libraries.

Quick Start

Use the dotnet-strong-name-signing skill to generate a new strong name key file.

Frequently Asked Questions about dotnet-strong-name-signing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a strong name key file for .NET assembly signing without Visual Studio?

You can generate a strong name key file without Visual Studio by using pure .NET cryptography to create an .snk file. This method bypasses the need for Developer PowerShell or the sn.exe tool, allowing you to sign assemblies in any terminal.

Can I create an .snk file for NuGet packages on macOS or Linux?

Yes, you can create an .snk file on macOS or Linux because this approach uses pure .NET cryptography for cross-platform compatibility. It enables you to establish assembly identity for NuGet packages outside of a Windows-only environment.

When do I need to sign a .NET assembly with a strong name key?

You need to sign a .NET assembly with a strong name key when developing public NuGet packages or ensuring proper assembly identity. This signing process guarantees compatibility with other signed libraries in your .NET projects.

What is the best way to integrate strong name signing into a .NET build workflow?

The best way to integrate strong name signing is to reference your generated .snk file directly within your .csproj files or Directory.Build.props. This configuration automates the assembly signing process seamlessly during your builds.

Does generating a strong name key require the sn.exe tool?

No, generating a strong name key does not require the sn.exe tool or Visual Studio's Developer PowerShell. You can produce the .snk file using pure .NET cryptography, which allows for key generation in any standard terminal environment.

Are there limitations to signing .NET assemblies with pure .NET cryptography?

The primary limitation of traditional signing is relying on Visual Studio's Developer PowerShell, but pure .NET cryptography removes this barrier for .NET assembly signing. It focuses strictly on generating the .snk file for assembly identity rather than managing certificates.