AllowZeroPeKind Property

MSBuild

Gets or sets the flag to treat an assembly with a zero PeKind flag (this is the value of the field listed as .corflags in the Manifest) as if it was ILonly.


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property AllowZeroPeKind As Boolean
C#
public bool AllowZeroPeKind { get; set; }
C++
public property bool AllowZeroPeKind sealed  {
    bool get();
    void set(bool value);
}
J#
/** property */
public bool get_AllowZeroPeKind();

/** property */
public void set_AllowZeroPeKind(bool value);
JScript
public function get AllowZeroPeKind() : bool

public function set AllowZeroPeKind(value : bool);

Remarks

Corresponds to command line option "/zeroPeKind".

The default value is false.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.