I'm creating a project template and editing the .vstemplate file has something like this:
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<TemplateData>
<Name>Negocio</Name>
<Description><No description available></Description>
<ProjectType>CSharp</ProjectType>
<ProjectSubType>
</ProjectSubType>
<SortOrder>1000</SortOrder>
<CreateNewFolder>false</CreateNewFolder>
<DefaultName>Negocio</DefaultName>
<ProvideDefaultName>true</ProvideDefaultName>
<LocationField>Enabled</LocationField>
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<Icon>__TemplateIcon.jpg</Icon>
</TemplateData>
<TemplateContent>
<Project TargetFileName="SIIM.Negocio.csproj" File="SIIM.Negocio.csproj" ReplaceParameters="false">
<Folder Name="Base" TargetFolderName="Base">
<Folder Name="Interface" TargetFolderName="Interface">
<ProjectItem ReplaceParameters="true" TargetFileName="I'$safeprojectname$'.cs">IPesquisarEstruturaSIIMN.cs</ProjectItem>
</Folder>
<ProjectItem ReplaceParameters="true" TargetFileName="'$safeprojectname$'N.cs">PesquisarEstruturaSIIMN.cs</ProjectItem>
</Folder>
</Project>
</TemplateContent>
</VSTemplate>
How do I change the name of the "TargetFileName" so that it is dynamic according to the name that the user types in the dialog box? I would like to make a concatenation "I" + "$ safeprojectname $" + ".cs" can anyone help me?