Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the path to the cryptographic key file.
Namespace: Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Syntax
'Declaration
Public Property KeyFile As String
Get
Set
public string KeyFile { get; set; }
Property Value
Type: System.String
A String that represents the path to the cryptographic key file.
Remarks
To generate a key file, type the following command at the Visual Studio command prompt: sn -k file
Use either the KeyFile or the KeyContainer for strong name signing of assemblies.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.