void CopyTemplateJsonFile(FilePath templateConfigDirectory, TemplateInformation template) { FilePath sourceFilePath = GetDefaultTemplateJsonFilePath(); FilePath destinationFilePath = templateConfigDirectory.Combine(sourceFilePath.FileName); string json = File.ReadAllText(sourceFilePath); json = StringParserService.Parse(json, template); json = AddProjectInfo(template, json); File.WriteAllText(destinationFilePath, json, Encoding.UTF8); TemplateJsonFilePath = destinationFilePath; }