ProcessedTemplateResult ProcessTemplate (DefaultSolutionTemplate template, NewProjectConfiguration config, SolutionFolder parentFolder)
		{
			IEnumerable<IWorkspaceFileObject> newItems = null;
			ProjectCreateInformation cinfo = CreateProjectCreateInformation (config, parentFolder);

			if (parentFolder == null) {
				IWorkspaceFileObject newItem = template.Template.CreateWorkspaceItem (cinfo);
				if (newItem != null) {
					newItems = new [] { newItem };
				}
			} else {
				newItems = template.Template.CreateProjects (parentFolder, cinfo);
			}
			return new DefaultProcessedTemplateResult (template.Template, newItems, cinfo.ProjectBasePath);
		}
        ProcessedTemplateResult ProcessTemplate(DefaultSolutionTemplate template, NewProjectConfiguration config, SolutionFolder parentFolder)
        {
            IEnumerable <IWorkspaceFileObject> newItems = null;
            ProjectCreateInformation           cinfo    = CreateProjectCreateInformation(config, parentFolder);

            if (parentFolder == null)
            {
                IWorkspaceFileObject newItem = template.Template.CreateWorkspaceItem(cinfo);
                if (newItem != null)
                {
                    newItems = new [] { newItem };
                }
            }
            else
            {
                newItems = template.Template.CreateProjects(parentFolder, cinfo);
            }
            return(new DefaultProcessedTemplateResult(template.Template, newItems, cinfo.ProjectBasePath));
        }