I've created the recipe and vstemplate below to add the 12>Features folder into an existing project. Some of the values get replaced ok but the 'SharePointFeatureName' argument never gets used inany ofthe Folder names instead it appears as $SharePointFeatureName$

Have i missed something?

The RECIPE

<?xml version="1.0" encoding="utf-8"?>
<Recipe Name="CreateBlankSharePointFeature" xmlns="http://schemas.microsoft.com/pag/gax-core" xmlns:xi="http://www.w3.org/2001/XInclude">
<!--<DocumentationLinks>
<Link Caption="Create SharePoint Feature Solution" Kind="Documentation" Url="CreateSharePointFeatureSolution.htm"/>
</DocumentationLinks>-->
<!-- This include is a must or things like Evaluator below will throw errors on execution -->
<xi:include href="../Common/CommonTypeAliases.xml" originalAttribute="href" originalPath="../Common/CommonTypeAliases.xml" xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(/gax:Types)" />

<Caption>Create Blank Feature</Caption>
<Description>Create a new Blank SharePoint 2007 Feature</Description>
<Arguments>
<Argument Name="ClientName" Required="true">
<Converter Type="NamespaceStringConverter"/>
</Argument>
<Argument Name="FeatureDescription" Required="true">
</Argument>
<!-- Example of automatic converter provided by .NET -->
<Argument Name="VisualSharePointSiteScope" Type="VisualSharePointSiteScope" />

<Argument Name="SharePointSiteScope" Type="SharePointSiteScope">
<ValueProvider Type="SiteScopeProvider"
VisualSharePointSiteScope="VisualSharePointSiteScope">
<MonitorArgument Name="VisualSharePointSiteScope" />
</ValueProvider>
</Argument>

<!-- This argument is created as it speeds up wizard performance -->
<Argument Name="FeatureName">
<Converter Type="NamespaceStringConverter"/>
</Argument>
<Argument Name="SharePointFeatureName">
<ValueProvider Type="Evaluator" Expression="$(ClientName).$(FeatureName)">
<MonitorArgument Name="ClientName" />
<MonitorArgument Name="FeatureName" />
</ValueProvider>
</Argument>
<!--<xi:include href="../Common/CommonArguments.xml" originalAttribute="href" originalPath="../Common/CommonArguments.xml" xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(/gax:Arguments/gax:Argument)" /> -->
</Arguments>
<GatheringServiceData>
<Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
<Pages>
<Page>
<Title>SharePoint 2007 Feature Solution Information</Title>
<LinkTitle>SharePoint 2007 Feature</LinkTitle>
<Help>
Enter the Client Name, description and set the Feature scope.
</Help>
<Fields>
<Field ValueName="ClientName" Label="Client Name"
InvalidValueMessage="Must be a valid project name (e.g. it should not contain spaces or special characters).">
<Tooltip>Enter the client name in Pascal casing.</Tooltip>
</Field>
<Field ValueName="FeatureName" Label="Feature Name"
InvalidValueMessage="Must be a valid project name (e.g. it should not contain spaces or special characters).">
<Tooltip>Enter the feature name in Pascal casing.</Tooltip>
</Field>
<Field ValueName="FeatureDescription" Label="Description of this feature"
InvalidValueMessage="You must enter a description for this feature">
<Tooltip>Enter a brief description of what this feature does.</Tooltip>
</Field>
<Field ValueName="VisualSharePointSiteScope" Label="SharePoint Site Scope"
InvalidValueMessage="Select a SharePoint Scope">
<Tooltip>Choose Site for site wide, Site Collection for site collection wide.</Tooltip>
</Field>
</Fields>
</Page>
</Pages>
</Wizard>
</GatheringServiceData>
</Recipe>

The VSTEMPLATE

<VSTemplate Version="2.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name>Blank Feature</Name>
<Description>Add a new feature</Description>
<Icon Package="{E57322ED-C1F7-4ac5-955E-D790D474D39E}" ID="106" />
<ProjectType>CSharp</ProjectType>
<TemplateID>BlankFeature</TemplateID>
<ShowByDefault>true</ShowByDefault>
<SortOrder>6</SortOrder>
<DefaultName>BlankFeature</DefaultName>
</TemplateData>
<TemplateContent>
<Folder Name="12">
<Folder Name="TEMPLATE">
<Folder Name="FEATURES">
<Folder Name="ProjectName" TargetFolderName="$SharePointFeatureName$" ReplaceParameters="true">
<ProjectItem SubType="Code" TargetFileName="elements.xml" ReplaceParameters="true">..\..\..\..\elements.xml</ProjectItem>
<ProjectItem SubType="Code" TargetFileName="feature.xml" ReplaceParameters="true">..\..\..\..\feature.xml</ProjectItem>
</Folder>
</Folder>
<Folder Name="IMAGES" TargetFolderName="IMAGES">
<Folder Name="ProjectName" TargetFolderName="$SharePointFeatureName$" ReplaceParameters="true">
<ProjectItem ReplaceParameters="false" TargetFileName="feature.gif">..\..\..\..\feature.gif</ProjectItem>
</Folder>
</Folder>
<Folder Name="LAYOUTS" TargetFolderName="LAYOUTS">
<Folder Name="ProjectName" TargetFolderName="$SharePointFeatureName$" ReplaceParameters="true" />
</Folder>
</Folder>
</Folder>
</TemplateContent>
<WizardExtension>
<Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName>
</WizardExtension>
<WizardData>
<Template xmlns="http://schemas.microsoft.com/pag/gax-template"
SchemaVersion="1.0"
Recipe="CreateBlankSharePointFeature"/>
</WizardData>
</VSTemplate>