BuildMessageSeverity Enum

Definition

This enumeration provides three levels of importance for build messages.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("936D32F9-1A68-4d5e-98EA-044AC9A1AADA")]
public enum BuildMessageSeverity
Inheritance
BuildMessageSeverity
Attributes

Fields

Name Value Description
Info 0

Indicates that the message corresponds to build information

Warning 1

Indicates that the message corresponds to a build warning

Error 2

Indicates that the message corresponds to a build error

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 16, 17