/// <summary>
        /// Called when [project item finished generating].
        /// </summary>
        /// <param name="projectItem">The project item.</param>
        protected override void OnProjectItemFinishedGenerating(ProjectItem projectItem)
        {
            TraceService.WriteLine("PluginsWizard::OnProjectItemFinishedGenerating name=" + projectItem.Name);

            if (this.SettingsService.RemoveDefaultComments)
            {
                projectItem.RemoveComments();
            }

            if (this.SettingsService.RemoveDefaultFileHeaders)
            {
                projectItem.RemoveHeader();
            }
        }
        /// <summary>
        /// Project Item added event handler.
        /// </summary>
        /// <param name="projectItem">The project item.</param>
        internal void ProjectItemsEventsItemAdded(ProjectItem projectItem)
        {
            string message = string.Format(
                "ServicesService::ProjectItemsEventsItemAdded file={0}",
                projectItem.Name);

            TraceService.WriteLine(message);

            if (projectItem.IsCSharpFile())
            {
                this.Messages.Add(projectItem.GetFolder() + @"\" + projectItem.Name + " added to project " + projectItem.ContainingProject.Name + ".");

                //// now we want to amend some of the namespaces!
                //// TODO: this should really be done in the template!
                projectItem.ReplaceText(
                    "MvvmCross." + this.templateName,
                    projectItem.ContainingProject.Name);

                if (this.settingsService.RemoveDefaultComments)
                {
                    projectItem.RemoveComments();
                }

                if (this.settingsService.RemoveDefaultFileHeaders)
                {
                    projectItem.RemoveHeader();
                }
            }
        }