Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EmbedTypeLibrary.KeyContainer Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the path to the cryptographic key container.

Namespace:  Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
public string KeyContainer { get; set; }

Property Value

Type: System.String
A String that represents the path to the cryptographic key container.

To generate a key file, type the following command at the Visual Studio command prompt: sn -k file

To install the key file into a container, type the following command: sn -k file containerName

Use either the KeyFile or the KeyContainer for strong name signing of assemblies.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.