Example #1
0
 private static void Main(string[] args)
 {
     try
     {
         NoCatchMain(args);
     }
     catch (Exception ex)
     {
         if (0 == ReportGeneralException(ex))
         {
             Output(OutputItem.Error(ex.ToString()));
         }
     }
 }
Example #2
0
        private static int ReportException(NuPkg.DependencyParseException ex)
        {
            Output(OutputItem.Error("Dependency parse error in the following items: " + ex.Message));

            return(1);
        }