protected void ReportError(BuildErrorEventArgs args)
 {
     try
     {
         errorlistManager.AddBuildError(args.File, args.LineNumber, args.ColumnNumber, args.Code, args.Message, MessageSeverity.Error);
     }
     catch (Exception e)
     {
         System.Diagnostics.Debug.WriteLine(e.Message);
     }
 }
 protected void ReportError(BuildErrorEventArgs args)
 {
     try
     {
         string msg = $"{args.File} {args.LineNumber} {args.ColumnNumber} {args.Code} {args.Message}";
         errorlistManager.AddBuildError(args.File, args.LineNumber, args.ColumnNumber, args.Code, args.Message, MessageSeverity.Error);
         Logger.Debug("Build Error: " + msg);
     }
     catch (Exception e)
     {
         Logger.Exception(e, "ReportError");
     }
 }