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

            return(1);
        }