Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Chaining recipes
 

Chaining recipes

I'd like to create a solution+project and add a file to such a project as a result of a t4 expansion. I can't have those 2 tasks in the same recipe since the second task (expanding the t4 script) requires a project, which doesn't exist yet until the recipe finishes (I believe).

So I created two recipes, one for the creation of the solution+project and other for expanding and adding the t4 script to the project. Now my question is: how to make the second recipe to be invoked as soon as the first one finishes, in order to ensure that there is an actual project when it (the second recipe) runs? I tried adding aTemplatesubnode referring to the second recipe in the WizardData node of the .vstemplate file, but it seems that the second recipe is still being called before the project is actually created.

Thanks,
-- AFurtado


Andre Furtado, MSc/BSc, SharpShooters UG Leader, MCP, SCJP, MSF. http://thespoke.net/blogs/afurtado/
Andre Furtado  Wednesday, August 13, 2008 3:04 AM
Just wondering if anyone was able to find a solution for that, which seems to be a quite common scenario...

Thanks,
-- AFurtado
Andre Furtado, MSc/BSc, MCP, SCJP, MSF. http://www.afurtado.net/
Andre Furtado  Thursday, August 28, 2008 1:55 AM

You can use google to search for other answers

Custom Search

More Threads

• Does Visual Studio 2008 Professional Edition support OpenMP nested parallelism?
• Recipe Framework Error
• How to pass parameters to T4 templates using GAX?
• C++ in GAX
• Get Full Path for Project Item...
• Circular Dependency Not Circular?
• GAT recipe execution from "Guidance package manager"
• Uninstall of February 2008 GAX fails
• Error using CreateProjectAction - Invalid URI: The URI is empty..
• VS2008 Standard vs Professional