PublicKeyTokens Property

MSBuild

Gets or sets the flag to indicate whether external assembly references in the manifest of the target assembly will use public keys (false) or public key tokens (true).


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

Syntax

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

/** property */
public void set_PublicKeyTokens(bool value);
JScript
public function get PublicKeyTokens() : bool

public function set PublicKeyTokens(value : bool);

Remarks

Corresponds to command line option "/publickeytokens".

The default value is false.

See Also

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