public static CopyInformation CreateFrbdkTemplateCopy(string fileLocation, string targetDirectory)
        {
            var    toReturn       = new CopyInformation();
            string frbdkDirectory = DirectoryHelper.FrbdkDirectory;

            fileLocation        = frbdkDirectory + fileLocation;
            toReturn.SourceFile = fileLocation;

            string targetLocation = DirectoryHelper.TemplateDirectory + targetDirectory + @"\";

            if (!System.IO.Directory.Exists(targetLocation))
            {
                System.IO.Directory.CreateDirectory(targetLocation);
            }

            string fileName = FileManager.RemovePath(fileLocation);

            toReturn.DestinationFile = targetLocation + fileName;
            return(toReturn);
        }
        public static CopyInformation CreateEngineCopy(string fileLocation, string targetDirectory)
        {
            var    toReturn        = new CopyInformation();
            string engineDirectory = DirectoryHelper.EngineDirectory;

            fileLocation        = engineDirectory + fileLocation;
            toReturn.SourceFile = fileLocation;

            string targetLocation = DirectoryHelper.ReleaseDirectory + @"SingleDlls\" + targetDirectory + @"\";

            if (!System.IO.Directory.Exists(targetLocation))
            {
                System.IO.Directory.CreateDirectory(targetLocation);
            }

            string fileName = FileManager.RemovePath(fileLocation);

            toReturn.DestinationFile = targetLocation + fileName;
            return(toReturn);
        }
        public static CopyInformation CreateFrbdkTemplateCopy(string fileLocation, string targetDirectory)
        {
            var toReturn = new CopyInformation();
            string frbdkDirectory = DirectoryHelper.FrbdkDirectory;

            fileLocation = frbdkDirectory + fileLocation;
            toReturn.SourceFile = fileLocation;

            string targetLocation = DirectoryHelper.TemplateDirectory + targetDirectory + @"\";

            if (!System.IO.Directory.Exists(targetLocation))
            {
                System.IO.Directory.CreateDirectory(targetLocation);
            }

            string fileName = FileManager.RemovePath(fileLocation);

            toReturn.DestinationFile = targetLocation + fileName;
            return toReturn;
        }
        public static CopyInformation CreateEngineCopy(string fileLocation, string targetDirectory)
        {
            var toReturn = new CopyInformation();
            string engineDirectory = DirectoryHelper.EngineDirectory;

            fileLocation = engineDirectory + fileLocation;
            toReturn.SourceFile = fileLocation;

            string targetLocation = DirectoryHelper.ReleaseDirectory + @"SingleDlls\" + targetDirectory + @"\";

            if (!System.IO.Directory.Exists(targetLocation))
            {
                System.IO.Directory.CreateDirectory(targetLocation);
            }

            string fileName = FileManager.RemovePath(fileLocation);

            toReturn.DestinationFile = targetLocation + fileName;
            return toReturn;
        }
 static void Add(string file, string category)
 {
     _copyInformation.Add(CopyInformation.CreateEngineCopy(file, category));
 }
 static void Add(string file, string destination)
 {
     mCopyInformation.Add(CopyInformation.CreateTemplateCopy(file, destination));
 }
 static void AddDirectory(string fileName, string destination)
 {
     mCopyInformation.AddRange(CopyInformation.CopyDirectory(fileName, destination));
 }