Table of Contents

Class DotnetBuildOutputLine

Namespace
SunamoDevCode.Data
Assembly
SunamoDevCode.dll

Represents a single line from dotnet build output containing error or warning information.

public class DotnetBuildOutputLine
Inheritance
DotnetBuildOutputLine
Inherited Members
Extension Methods

Properties

Column

Gets or sets the column number where the error/warning occurred.

public int Column { get; set; }

Property Value

int

ErrorCode

Gets or sets the error code (e.g., CS0103, CS0246).

public string ErrorCode { get; set; }

Property Value

string

Line

Gets or sets the line number where the error/warning occurred.

public int Line { get; set; }

Property Value

int

Message

Gets or sets the error/warning message text.

public string Message { get; set; }

Property Value

string

Path

Gets or sets the file path where the error/warning occurred.

public string Path { get; set; }

Property Value

string

Type

Gets or sets the type of message (error, warning, etc.).

public string Type { get; set; }

Property Value

string

Methods

Deconstruct(out string, out int, out int, out string, out string, out string)

Deconstructs the build output line into individual components.

public void Deconstruct(out string path, out int line, out int column, out string type, out string errorCode, out string message)

Parameters

path string

File path where the error/warning occurred.

line int

Line number where the error/warning occurred.

column int

Column number where the error/warning occurred.

type string

Type of message (error, warning, etc.).

errorCode string

Error code.

message string

Error/warning message text.