sn
Verified for current stable LTS
Sn Command: Resign Assembly With Private Key
Use for resign assembly with private key with Sn. Exact CLI syntax to resign assembly with private key using Sn.
When to use this: Use for resign assembly with private key with Sn.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
sn -R <path/to/assembly.dll> <path/to/key_pair.snk> sn -R <path/to/assembly.dll> <path/to/key_pair.snk> Command Breakdown
-R- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to resign assembly with private key using Sn.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Sn Command: Extract Public Key To File
sn -e <path/to/assembly.dll> <path/to/output.pub> Sn Command: Generate Strongname Key sn -k <path/to/key.snk> Sn Command: Show Public Key Of Signed Assembly sn -T <path/to/assembly.exe> Createuser Command: Create User No Db No Role createuser -D -R <username> Ctest Command: Filter Tests By Regex ctest --output-on-failure -R '^<test_name>$'