LogFile Property

MSBuild

Gets or sets a log file to write log messages to.


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

Syntax

Visual Basic (Declaration)
Public Property LogFile As ITaskItem
C#
public ITaskItem LogFile { get; set; }
C++
public property ITaskItem LogFile sealed  {
    ITaskItem get();
    void set(ITaskItem value);
}
J#
/** property */
public ITaskItem get_LogFile();

/** property */
public void set_LogFile(ITaskItem value);
JScript
public function get LogFile() : ITaskItem

public function set LogFile(value : ITaskItem);

Remarks

If an empty item group is provided, then log messages are writte to Out.

Corresponds to command line option "/log".

The default value is null.

See Also

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