Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Argument Expansion - Unfold Template
 

Argument Expansion - Unfold Template

What is the syntax you use in source code files of a template to expand arguments specified as arguments in the recipe?

I see the standard arguments $projectname$, $safeprojectname$ etc are being replaced, but none of my custom arguments are. I am using the same syntax.
i.e $mycustomargument$

Do youhave to do something special in the custom action?
Is it even possible to expand argument values collected from a recipie wizard for a template?
Jezz Santos  Tuesday, November 01, 2005 9:34 PM
Precisely, one of the objectives behind integrating recipes with templates was to enable you to use the rich argument collection strategy in GAX to collect information that can be unfolded in a VS template using the familiar syntax $ArgumentName$.

Note that the name of the argument is case sensitive. And you don't need any custom action to get the replacement to work.
kzu  Thursday, November 03, 2005 8:13 PM
Precisely, one of the objectives behind integrating recipes with templates was to enable you to use the rich argument collection strategy in GAX to collect information that can be unfolded in a VS template using the familiar syntax $ArgumentName$.

Note that the name of the argument is case sensitive. And you don't need any custom action to get the replacement to work.
kzu  Thursday, November 03, 2005 8:13 PM

You can use google to search for other answers

Custom Search

More Threads

• MSI Deployment Issues
• What determines whether project templates are or are not available in context?
• System.Runtime.InteropServices.COMException (0x80004005): Not a valid file name
• Couldn't find assembly "Microsoft.Practices.RecipeFramework.VisualStudio"
• How should I deploy additional binaries?
• conditionally adding a binary reference to a project
• Changing the folder of custom tool generated files
• Unbound reference to a filetype
• No assemblies placed in GAC
• how to run multiple class file with Main() method on each of them independently in a project?