Gets or sets the path to the cryptographic key container.
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
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 for strong name signing of assemblies.
- 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.