public override void Generate() { UpgradeVersionedTemplate template = new UpgradeVersionedTemplate(_model); string fullFileName = template.FileName; ProjectItemGeneratedEventArgs eventArgs = new ProjectItemGeneratedEventArgs(fullFileName, template.FileContent, ProjectName, PARENT_ITEM_NAME, ProjectItemType.Folder, this, false); eventArgs.Properties.Add("BuildAction", 3); OnProjectItemGenerated(this, eventArgs); ProjectItemGenerationCompleteEventArgs gcEventArgs = new ProjectItemGenerationCompleteEventArgs(this); OnGenerationComplete(this, gcEventArgs); }