KeyFile Property

NAnt SDK Documentation - v0.92 |

# AssemblyLinkerTask.KeyFile Property

Specifies a file (filename) that contains a key pair or just a public key to sign an assembly.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="keyfile", ExpandProperties:=True, ProcessXml:=True)>
Public Property KeyFile As FileInfo
[C#]
[TaskAttribute(Required=False, Name="keyfile", ExpandProperties=True, ProcessXml=True)]
public System.IO.FileInfo KeyFile {get; set;}

#### Property Value

The complete path to the key file.

#### Remarks

Corresponds with the `/keyf[ile]:` flag.

#### See Also

AssemblyLinkerTask Class | NAnt.DotNet.Tasks Namespace