예제 #1
0
        void GenerateDefaults()
        {
            Author                   = AuthorInformation.Default.Name;
            DefaultProjectName       = project.Name;
            DisplayName              = project.Name;
            Language                 = project.LanguageName;
            ShortName                = project.Name;
            Description              = string.Empty;
            FileFormatExclude        = string.Empty;
            FileFormatExcludeTagName = FileFormattingExcludeTagProvider.DefaultTagName;

            Category        = "other/net/general";
            CategoryTagName = TemplateCategoryTagNameProvider.DefaultCategoryTagName;

            GroupIdentity = $"MyTemplate.{project.Name}";
            Identity      = $"{GroupIdentity}.{project.GetTemplateLanguageName ()}";

            SourceName = project.FileName.FileNameWithoutExtension;

            ProjectFilePrimaryOutputs = GetProjectFilePrimaryOutputs().ToArray();
            ProjectGuids = GetProjectGuids().ToArray();
        }