I have added a class file (LocalInitializer.cs) as "Add as link file" in my Project under a folder call say "Initializer". What will I do in the ProjectTemplate1.vstemplate file to add it. The current structure is
<TemplateContent>
<Project File="ProjectTemplate.csproj" ReplaceParameters="true">
<ProjectItem ReplaceParameters="true" OpenInEditor="true">Initializer\GlobalInitializer.cs</ProjectItem>
</Project>
</TemplateContent>
But it gives error
Could not find file 'D:\ProjectTemplate1\ProjectTemplate1\Initializer\GlobalInitializer.cs'
I even tried by adding
<ItemGroup>
<Compile Include="Initializer\GlobalInitializer.cs" />
</ItemGroup>
into ProjectTemplate.csproj but same error.
any idea of how to solve this?
Thanks