Sdílet prostřednictvím


CompilationOptions.CryptoKeyFile Property

Definition

The name of the file containing the public and private keys to use to generate strong name of the compilation assembly and to sign it.

public:  property System::String ^ CryptoKeyFile {  public:
System::String ^ get(); protected:
 void set(System::String ^ value); };
public string CryptoKeyFile { get; protected set; }
public string? CryptoKeyFile { get; protected set; }
member this.CryptoKeyFile : string with get, set
Public Property CryptoKeyFile As String

Property Value

Remarks

To sign the output supply either one of CryptoKeyFile or CryptoKeyContainer. but not both. If both are specified CryptoKeyContainer is ignored.

If PublicSign is also set, CryptoKeyFile must be the absolute path to key file.

Applies to