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

            return(directoryBuildPropsFilePath);
        }
        /// <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);
        }
Beispiel #3
0
        public static ProjectDirectoryName GetProjectDirectoryName(this ProjectDirectoryPath projectDirectoryPath)
        {
            var projectDirectoryName = projectDirectoryPath.GetDirectoryName().AsProjectDirectoryName();

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

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

            return(projectDirectoryPath);
        }