index > Visual Studio Guidance Automation Toolkit > Reuse Projects and Recipes

Reuse Projects and Recipes

Is it possible to reuse Projects and Recipes from other packages? For example, I might want to include project templates from another package in a 'create solution' recipe, or just execute a recipe from another package.

Thanks,

Scott.

Scott Simms
Templates cannot be reused across guidance packages, just like VS templates cannot be imported from other locations other than their zip-relative paths. This is by design of VS and we cannot do much about it.

Executing a recipe from another package is just a matter of firing the appropriate VS command. All recipes get their own command in the command well, which you can see if you go to customize the keyboard or toolbars/menus.

You can simply do DTE.ExecuteCommand and pass the recipe command name, which should be [Package Name].[Recipe Name]



Daniel Cazzulino [Solutions Architect MVP]
kzu
reply 2

You can use google to search for other answers

 

More Articles

• How do I add an empty project folder?
• Using FileNameEditor as a Value Editor
• Unfold Recipe vs New Item
• Sharing gpState in TFS Source Control
• Parameterising ProjectType in VS2005 templates
• HoL Registration failed
• Adding an Item to a solution (as opposed to a project)
• No assemblies placed in GAC
• Cannot install GAT or any other guidance package
• Cant' install "Guidance Automation Extensions" ...
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Custom UnfoldTemplate
• uninstall of HoLPackageSetup.msi failed
• Create New Project Hangs
• T3 template engine
• Parameterising ProjectType in VS2005 tem
• HoLPackage Registration menu disappear
• Loosing Item Template Information
• Unfold Recipe vs New Item
• Support for the June or July CTP of VS .
• T4 in a custom tool
• GAT breaking changes
• Project templates do not appear in VS 20
• Not able to create a new Guidance Packag
• Converting IDTWizard to GAT project and
• Has anyone written a MSI bootstrapper fo

Hot Articles

• Call a recipe
• June GAT Installation Issues
• web project template, to fire code in ga
• Create Add DataSet recipe
• Cannot download June CTP GAX or GAT - do
• Loosing Item Template Information
• Help with an error message
• HoLPackage Registration menu disappear
• Extend the Meta-Guidance Package
• Can't Drag Controls onto CustomWizPages
• DependentUpon
• Is there a way to use the T3 engine as a
• Tom, I see what has been keeping you bus
• Update guidance already installed
• Examining the items in a solution

Recommend Articles

• Generic argument types
• Extend the Meta-Guidance Package
• Can we checkout file under ClearCase as
• Help with an error message
• HoLPackage Registration menu disappear
• TechEd excercise Improving Code Quality
• Alter Name of Solution
• Type of Document objects retrieved from
• Error unfolding a project template
• *.vstemplate for and *.csproj/*.vbproj m
• Wizard size and colors
• configured attribute T3 - no property o
• Loading solution verty slow
• Package version
• June GAT Installation Issues