Ejemplo n.º 1
0
 private static void OpenArchive(string filename)
 {
     log.InfoFormat("Utilities.OpenArchive: Opening OVF Archive: {0}", filename);
     if (!File.Exists(filename))
     {
         log.ErrorFormat("Utilities.OpenArchive: Cannot find file: {0}", filename);
         throw new FileNotFoundException(string.Format(Messages.FILE_MISSING, filename));
     }
     OVF.OpenOva(Path.GetDirectoryName(filename), Path.GetFileName(filename));
 }