How to Configure a Strong Name Assembly Key File
In the process of deploying a BizTalk solution, Visual Studio first builds the assemblies. The deployment process requires that each assembly is strongly signed. You can strongly sign your assemblies by associating the project with a strong name assembly key file. If you haven't already done so, before deploying a solution from Visual Studio, use the following procedure to generate a strong name assembly key file and assign it to each project in the solution.
To perform the procedure in this topic, you must be logged on with an account that is a member of the BizTalk Server Administrator's group. In addition, your account must have Write permissions on the global assembly cache (GAC). The Administrators account on the local computer has this permission.
Start Visual Studio Command Prompt.
At the command prompt, from the folder where you want to store the key file, type the following command, and then press ENTER:
sn /k file_name .snk
Example: sn /k ErrorHandling.snk
A confirmation message, Key pair written to <file_name>.snk
,
displays on the command line.In Visual Studio Solution Explorer, right-click the project and then click Properties.
Click the Signing tab and choose Browse in the Choose a strong name key file drop down box.
Browse to the key file and click it. Click Open, and then close the project properties.
Repeat steps 3 through 6 for each project in the solution that you want to deploy using this strong name assembly key file.
Deploying BizTalk Assemblies from Visual Studio into a BizTalk Application