/// <summary>
        /// Called when user clicks on the add-in menu
        /// </summary>
        /// <param name="e">The context of the VS tools and metadata</param>
        public override void OnClick(AddinEventArgs e)
        {
            if (this.IsProjectSelected())
            {
                var templateFolderPath = CreateFromTemplateMainMenuAddIn.GetTemplatePath();
                if (String.IsNullOrEmpty(templateFolderPath))
                {
                    return;
                }

                //var tempalteFolders = this.GetTemplateFolders(templateFolderPath);
                CreateFromTemplateForm createFromTemplateForm = new CreateFromTemplateForm();
                createFromTemplateForm.ShowDialog();
            }
        }
        private List <string> GetTemplateFolders()
        {
            var templatePath = CreateFromTemplateMainMenuAddIn.GetTemplatePath();

            return(Directory.GetDirectories(templatePath).ToList());
        }