I'm creating a template in visual studio, but I want it to add an item to a project and it's created in all other solution projects, can anyone help me? the code is more or less this:
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item">
<TemplateData>
<DefaultName>WebApiConsulta.cs</DefaultName>
<Name>WebApiConsulta</Name>
<Description><No description available></Description>
<ProjectType>CSharp</ProjectType>
<SortOrder>10</SortOrder>
<Icon>__TemplateIcon.png</Icon>
</TemplateData>
<TemplateContent>
<References />
<ProjectItem SubType="Code" TargetFileName="Projeto1/$fileinputname$.cs" ReplaceParameters="true">ConsultaGrupoProjeto.cs</ProjectItem>
<ProjectItem SubType="Code" TargetFileName="Projeto2/$fileinputname$.cs" ReplaceParameters="true">ConsultaGrupoProjeto.cs</ProjectItem>
<ProjectItem SubType="Code" TargetFileName="Projeto3/$fileinputname$.cs" ReplaceParameters="true">ConsultaGrupoProjeto.cs</ProjectItem>
</TemplateContent>
</VSTemplate>