FormatAsBuildDiagnostic(IIntrospectionDiagnostic)
Formats an IIntrospectionDiagnostic as a string in the format used by dotnet build or msbuild.
Declaration
public static string FormatAsBuildDiagnostic(this IIntrospectionDiagnostic diagnostic)Parameters
| Type | Name | Description |
|---|---|---|
| IIntrospectionDiagnostic | diagnostic | The diagnostic to format. |
Returns
| Type | Description |
|---|---|
| string | A formatted string suitable for displaying in build output. |