Пример #1
0
        internal void SetBaseFolder(IController controller)
        {
            string pl = ((PipelineController)controller).ProjectLocation;

            if (!pl.EndsWith(System.IO.Path.DirectorySeparatorChar.ToString()))
            {
                pl += System.IO.Path.DirectorySeparatorChar;
            }
            folderUri = new Uri(pl);

            string pod = ((PipelineController)controller).ProjectOutputDir;

            if (!pod.EndsWith(System.IO.Path.DirectorySeparatorChar.ToString()))
            {
                pod += System.IO.Path.DirectorySeparatorChar;
            }
            pod       = Path.Combine(pl, pod);
            outputUri = new Uri(pod);

            outputParser.Reset();
        }