共用方式為


CompilationOptions.DelaySign Property

Definition

Mark the compilation assembly as delay-signed.

public:  property Nullable<bool> DelaySign {  public:
Nullable<bool> get(); protected:
 void set(Nullable<bool> value); };
public bool? DelaySign { get; protected set; }
member this.DelaySign : Nullable<bool> with get, set
Public Property DelaySign As Nullable(Of Boolean)

Property Value

Remarks

If true the resulting assembly is marked as delay signed.

If false and CryptoPublicKey, CryptoKeyFile, or CryptoKeyContainer is specified or attribute System.Reflection.AssemblyKeyFileAttribute or System.Reflection.AssemblyKeyNameAttribute is applied to the compilation assembly in source the resulting assembly is signed accordingly to the specified values/attributes.

If null the semantics is specified by the value of attribute System.Reflection.AssemblyDelaySignAttribute applied to the compilation assembly in source. If the attribute is not present the value defaults to "false".

Applies to