예제 #1
0
        private void ExportSolutionToPath(string path, Solution solution, bool managed)
        {
            var fileName = StringFormatter.GetSolutionFileName(solution.UniqueName, solution.Version, managed);
            var fullPath = string.Format("{0}{1}", path, fileName);

            SetDialog($"Exporting solution '{solution.UniqueName}' managed={managed}...");
            CurrentSolutionManager.ExportSolution(solution.UniqueName, fullPath, managed);
            if (BlobService.IsEnabledBlobStorage())
            {
                SetDialog($"Uploading to BlobStorage '{solution.UniqueName}' managed={managed}...");
                BlobService.Upload(solution.UniqueName, fullPath);
            }
        }