Sign an assembly (.NET) with a strong name

There are several ways to sign an assembly with a strong name. In Genero Studio, you may add the /keyfile .NET compiler option in the linker options property of your library node in Project Manager.

This procedure creates a .NET assembly signed with a strong name using Genero Studio.
  1. In the Projects view, select a library node in the project.
    For example, you would select the DataSourceLib node in a BAM project.
  2. In the Properties view, add the following to the Linker options property:
    /keyfile:"$(ProjectDir)/sgKey.snk"

    Replace "sgKey.snk" with the name of your public/private key pair.

    Note:

    You must have an existing key pair in your project directory. If you do not have a key pair, create one. For more information, see How to: Create a Public/Private Key Pair on the Microsoft™ Developer Network.

  3. Save the project.
With this addition to the Linker options, when the assembly is created, it will be signed with a strong name.

For more information, see How to: Sign an Assembly with a Strong Name on the Microsoft Developer Network.