Пример #1
0
        public static PackageID GetDefaultPackageID(ProjectFilePath projectFilePath)
        {
            var projectFileName = VsIoUtilities.GetProjectFileName(projectFilePath);

            var packageID = Utilities.GetDefaultPackageID(projectFileName);

            return(packageID);
        }
Пример #2
0
        public static SolutionFilePath GetSolutionFilePath(SolutionDirectoryPath solutionDirectoryPath, SolutionName solutionName, DotnetNewConventions conventions)
        {
            var solutionFileName = Utilities.GetSolutionFileName(solutionName, conventions);

            var solutionFilePath = VsIoUtilities.GetSolutionFilePath(solutionDirectoryPath, solutionFileName);

            return(solutionFilePath);
        }
Пример #3
0
        public static ProjectFilePath GetCSharpProjectFilePath(ProjectDirectoryPath projectDirectoryPath, ProjectName projectName, DotnetNewConventions conventions)
        {
            var projectFileName = Utilities.GetCSharpProjectFileName(projectName, conventions);

            var projectFilePath = VsIoUtilities.GetProjectFilePath(projectDirectoryPath, projectFileName);

            return(projectFilePath);
        }
Пример #4
0
        public static SolutionFileName GetSolutionFileName(SolutionName solutionName, DotnetNewConventions conventions)
        {
            var solutionFileNameWithoutExtension = conventions.SolutionFileNameWithoutExtensionFromSolutionName(solutionName);

            var solutionFileName = VsIoUtilities.GetSolutionFileName(solutionFileNameWithoutExtension);

            return(solutionFileName);
        }
Пример #5
0
        public static ProjectFileName GetCSharpProjectFileName(ProjectName projectName, DotnetNewConventions conventions)
        {
            var projectFileNameWithoutExtension = conventions.ProjectFileNameWithoutExtensionFromProjectName(projectName);

            var projectFileName = VsIoUtilities.GetCSharpProjectFileName(projectFileNameWithoutExtension);

            return(projectFileName);
        }