public override void Execute() { var designProject = this.Projects.GetFirstProjectByType(BasePluginConstants.ProjectType_Design); var schemaConverter = new SchemaConverter(); var projectConfigurationSchema = this.Schemas.GetSchemaByName(Core.CoreConstants.ProjectConfiguration_SchemaName); var projectConfigurationSchemaOutputModel = schemaConverter.Convert(projectConfigurationSchema); projectConfigurationSchemaOutputModel.Renderer = new XmlOutputModelRenderer(); projectConfigurationSchemaOutputModel.File = designProject.GetFile("Schemas/XSD/ProjectConfiguration.xsd"); this.OutputModels.AddOutputModel(projectConfigurationSchemaOutputModel); var designModelSchema = this.Schemas.GetSchemaByName(BasePluginConstants.DesignModel_SchemaName); var designModelSchemaOutputModel = schemaConverter.Convert(designModelSchema); designModelSchemaOutputModel.Renderer = new XmlOutputModelRenderer(); designModelSchemaOutputModel.File = designProject.GetFile("Schemas/XSD/DesignModels.xsd"); this.OutputModels.AddOutputModel(designModelSchemaOutputModel); }