Signing the control add-in assembly
An application using a developed assembly (Dynamics NAV in our case) must be able to identify it. For this purpose, an add-in assembly must be signed with a strong name, which is used to refer to the assembly by a unique identifier. The strong name consists of a human-readable text name and a public key token generated with the SHA-1 Algorithm.
How to do it...
In this recipe, you will learn how sign the control add-in assembly.
In the Project menu, select NavBrowserControl Properties and open the Signing tab.
Set the checkmark in the Sign the assembly field.
In the following drop-down box, select the <New> option for the strong name key file:
The Create Strong Name Key dialog will now open. Enter the name of the key file and the password and click OK:
Save and build the solution.
To register a control add-in, you need to obtain a public key token assigned to the library during signing. In the Tools menu, choose External Tools to access the list of configured...