DebugInfo Property

MSBuild

Gets or sets the flag to indicate whether to preserve any .pdb files that are found for the input assemblies into a .pdb file for the target assembly.


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

Syntax

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

/** property */
public void set_DebugInfo(bool value);
JScript
public function get DebugInfo() : bool

public function set DebugInfo(value : bool);

Remarks

Corresponds to command line option "/ndebug".

The default value is true.

See Also

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