예제 #1
0
파일: Deploy.cs 프로젝트: acosin/MMXLegacy
        public Boolean Execute()
        {
            if (BuildEnvironment.IsDebug)
            {
                Debugger.Launch();
            }

            MdbGenerator generator = new MdbGenerator(this);

            generator.BeginGenerateMdbSymbols();

            FileCopier copier = FileCopier.TryGetFileCopier(this);

            if (copier != null)
            {
                copier.BeginCopyDll();
                copier.BeginCopyPdb();
            }

            // Wait until .mdb symbols generated to able to copy it
            generator.EndGenerateMdbSymbols();

            if (copier != null)
            {
                copier.BeginCopyMdb();
                copier.EndCopy();
            }

            return(true);
        }