private RegistrationAttributeBuilder Build() {
     var builder = new RegistrationAttributeBuilder();
     builder.Key("Projects")
         .GuidSubKey(ProjectTypeGuid)
             .PackageGuidValue("Package")
             .StringValue("Language(VsTemplate)", LanguageVsTemplate)
             .GuidValue("ProjectFactoryPackage", "3347BEE8-D7A1-4082-95E4-38A439553CC2")
             .BoolValue("DisableAsynchronousSolutionLoad", DisableAsynchronousSolutionLoad);
     return builder;
 }
 private RegistrationAttributeBuilder Build() {
     var builder = new RegistrationAttributeBuilder();
     builder.Key("ProjectGenerators")
         .GuidSubKey(GeneratorType)
             .PackageGuidValue("Package")
             .StringValue("FileNames", FileNames)
             .StringValue("FileExtensions", FileExtensions)
             .ResourceIdValue("DisplayGeneratorFilter", DisplayGeneratorFilter)
             .GuidArrayValue("PossibleGeneratedProjectTypes", PossibleGeneratedProjectTypes);
     return builder;
 }
 private RegistrationAttributeBuilder Build() {
     var builder = new RegistrationAttributeBuilder();
     builder.Key("NewProjectTemplates\\TemplateDirs")
         .GuidSubKey(_projectType)
             .SubKey("/" + _templateSet)
                 .StringValue("", _developerActivity)
                 .StringValue("TemplatesDir", "\\.\\NullPath")
                 .StringValue("DeveloperActivity", _developerActivity)
                 .IntValue("SortPriority", _sortPriority);
     return builder;
 }
        private RegistrationAttributeBuilder Build()
        {
            var builder = new RegistrationAttributeBuilder();

            builder.Key("Projects")
            .GuidSubKey(ProjectTypeGuid)
            .PackageGuidValue("Package")
            .StringValue("Language(VsTemplate)", LanguageVsTemplate)
            .GuidValue("ProjectFactoryPackage", "3347BEE8-D7A1-4082-95E4-38A439553CC2")
            .BoolValue("DisableAsynchronousSolutionLoad", DisableAsynchronousSolutionLoad);
            return(builder);
        }
Example #5
0
        private RegistrationAttributeBuilder Build()
        {
            var builder = new RegistrationAttributeBuilder();

            builder.Key("NewProjectTemplates\\TemplateDirs")
            .GuidSubKey(_projectType)
            .SubKey("/" + _templateSet)
            .StringValue("", _developerActivity)
            .StringValue("TemplatesDir", "\\.\\NullPath")
            .StringValue("DeveloperActivity", _developerActivity)
            .IntValue("SortPriority", _sortPriority);
            return(builder);
        }
        private RegistrationAttributeBuilder Build() {
            var builder = new RegistrationAttributeBuilder();
            string templatesKey = 
                    string.Format(CultureInfo.InvariantCulture, "Projects\\{{{0}}}\\AddItemTemplates\\TemplateDirs\\{{{1}}}\\/1",
                    _projectGuid, _packageGuid);

            builder.Key(templatesKey)
                    .PackageGuidValue("Package")
                    .StringValue(string.Empty, _languageNameId)
                    .StringValue("TemplatesDir", @"$PackageFolder$\" + _folderName)
                    .IntValue("SortPriority", _sortPriority);
            return builder;
        }
Example #7
0
        private RegistrationAttributeBuilder Build()
        {
            var builder = new RegistrationAttributeBuilder();

            builder.Key("ProjectGenerators")
            .GuidSubKey(GeneratorType)
            .PackageGuidValue("Package")
            .StringValue("FileNames", FileNames)
            .StringValue("FileExtensions", FileExtensions)
            .ResourceIdValue("DisplayGeneratorFilter", DisplayGeneratorFilter)
            .GuidArrayValue("PossibleGeneratedProjectTypes", PossibleGeneratedProjectTypes);
            return(builder);
        }