예제 #1
0
        public static FilePath GetDirectoryBuildPropsFilePath(ProjectDirectoryPath projectDirectoryPath)
        {
            var directoryBuildPropsFilePath = PathUtilities.Combine(projectDirectoryPath.Value, Constants.DirectoryBuildPropsFileName.Value).AsFilePath();

            return(directoryBuildPropsFilePath);
        }
예제 #2
0
        /// <summary>
        /// The directory containing the project-directory is the solution-directory.
        /// </summary>
        public static SolutionDirectoryPath GetSolutionDirectoryPath(ProjectDirectoryPath projectDirectoryPath)
        {
            var solutionDirectoryPath = PathUtilities.GetParentDirectoryPath(projectDirectoryPath).AsSolutionDirectoryPath();

            return(solutionDirectoryPath);
        }
예제 #3
0
        public static ProjectDirectoryName GetProjectDirectoryName(this ProjectDirectoryPath projectDirectoryPath)
        {
            var projectDirectoryName = projectDirectoryPath.GetDirectoryName().AsProjectDirectoryName();

            return(projectDirectoryName);
        }
예제 #4
0
        public static ProjectFilePath GetProjectFilePath(ProjectDirectoryPath projectDirectoryPath, ProjectFileName projectFileName)
        {
            var projectFilePath = PathUtilitiesExtra.GetFilePath(projectDirectoryPath, projectFileName).AsProjectFilePath();

            return(projectFilePath);
        }
예제 #5
0
        public static ProjectDirectoryPath AsProjectDirectoryPath(this DirectoryPath directoryPath)
        {
            var projectDirectoryPath = new ProjectDirectoryPath(directoryPath.Value);

            return(projectDirectoryPath);
        }