Hi @Dani_S , sorry for late response, I will show you more detail instruction below:
Step 1: Create a strong-name key (.snk)
Option A: Using Visual Studio
- Right-click Solution -> Properties -> Signing
- Click New…
- Name it (for example): GitConverter.snk
- Leave password empty (recommended unless required)
Save (it will be added to your solution)
Option B: Command line (alternative)
sn -k GitConverter.snk(Requires Developer Command Prompt)
Step 2: Enable signing in each project
- Right-click project -> Properties
- Go to Signing
- Check Sign the assembly
- Select GitConverter.snk
- Save
- Repeat for the rest projects.
Step 3: After build, verify:
-
sn -vf ConsoleApp.dll -
sn -vf WpfApp.dll - Expected result: Assembly ... is valid
Note:
- Don't commit .snk to public repos
- Use one .snk file
- You don't have to open the snk file.