public static void BuildAuthServerProject(string solutionDirectory, string authServerProjectName, IFileSystem fileSystem) { var projectExists = File.Exists(Path.Combine(solutionDirectory, authServerProjectName, $"{authServerProjectName}.csproj")); if (projectExists) { return; } var projectClassPath = ClassPathHelper.AuthServerProjectClassPath(solutionDirectory, authServerProjectName); AuthServerProjBuilder.CreateProject(solutionDirectory, authServerProjectName, fileSystem); Utilities.ExecuteProcess("dotnet", $@"sln add ""{projectClassPath.FullClassPath}""", solutionDirectory); }