Monday, August 4, 2008

COM Shared Add-in (Part 5)

Sign your assemblies with a strong key

After you have created the application make sure that you sign your assemblies with a strong key.

To do this, follow these steps:

1. Open Visual Studio Command prompt

2. Type: sn -k c:\mykey.snk (enter)

3. Move mykey.snk to your application folder

4. Open your code's solution in Visual Studio

5. Open the project properties in the Solution Explorer

6. Open signing tab

7. Tick the Sign the Assembly checkbox and browse for the .snk file created in step 2.

No comments: