Partilhar via


Como: Atrasar a assinatura de um Assembly (Visual Studio)

When signing an assembly, you might not always have access to a private key. For example, an organization might have a closely guarded key pair that developers do not have access to on a daily basis. While the public key might be available, access to the private key is restricted to a few individuals. In such a case, you can use delayed or partial signing to provide the public key, deferring the addition of the private key until the assembly is handed off.

Delay signing can be enabled in the Signing pane of the Project Designer as follows.

To delay sign an assembly

  1. With the project node selected in Solution Explorer, from the Project menu, click Properties (or right-click the project node in Solution Explorer, and click Properties).

  2. In the Project Designer, click the Signing tab.

  3. Select the Sign the assembly check box.

  4. Specify a key file. For more information, see Como: Assinar um Assembly (Visual Studio).

  5. Select the Delay sign only check box. Note that a delay signed project will not run and cannot be debugged. You can, however, use the Sn. exe (ferramenta de nome forte) with the -Vr option to skip verification during development.

Consulte também

Tarefas

Como: Assinar um Assembly (Visual Studio)

Conceitos

Assinatura de Nome Forte para Aplicativos Gerenciados

Atraso na Assinatura de um Assembly

Outros recursos

Gerenciando Assinatura de Assembly e Manifesto