Exemplo n.º 1
0
        bool CopyMe(string targetpath)
        {
            string me = GetMyImagePath();
            string to = Path.Combine(targetpath, Path.GetFileName(me));

            if (TAPApp.IsOutdated(to, me))
            {
                TAPApp.VLog(2, "copy from {0} to {1}", me, to);
                File.Copy(me, to, true);
                // this can be removed once all the bugs are fixed :-)
                string pdb   = TAPApp.PdbFromExe(me);
                string pdbto = TAPApp.PdbFromExe(to);
                File.Copy(pdb, pdbto, true);
                return(true);
            }
            return(false);
        }
Exemplo n.º 2
0
 static string PdbFromTap(string tap)
 {
     return(TAPApp.PdbFromExe(tap));
 }