コード例 #1
0
        private static void TryRun(CommandLineOptions options)
        {
            var errorOccus = false;

            try
            {
                RunImpl(options);
            }
            catch (Exception e)
            {
                LoggedConsole.WriteError(e);
                errorOccus = true;
            }
            finally
            {
                VSProject.UnloadAll();
            }
            LoggedConsole.WriteInfo(errorOccus ? "Error occurred..." : "Done!");
        }
コード例 #2
0
 private static void Run(CommandLineOptions options)
 {
     RunImpl(options);
     VSProject.UnloadAll();
 }