InvalidProjectFileException.Message Property

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Gets the exception message including the affected project file (if any).

C#
public override string Message { get; }

Property Value

The complete message string.

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to

Product Versions
MSBuild 17
MSBuild (.NET Core) 17