I'm working in a VSTemplate to new item. It should create s 3 files. The usual file.aspx and it code behind file.aspx.cs. This is working fine.
But I need to add in the same time a class file _file.cs opn App_Code folder.
<TemplateContent>
<ProjectItem ReplaceParameters="true" TargetFileName="$page$.aspx">$.Taspx</ProjectItem>
<ProjectItem ReplaceParameters="true" TargetFileName="$page$.aspx.cs">$.aspx.Tcs</ProjectItem>
<ProjectItem ReplaceParameters="true" TargetFileName="..\\App_Code\\_$page$.cs">_$.Tcs</ProjectItem>
</TemplateContent>
Any way, all 3 files goes tosame folder and none goes to App_Code.
There some way to do this only using the template or I need to use some other way?