I have a VS 2013 project template with a item like below
<ProjectItem ReplaceParameters="true" TargetFileName="Target.xml">Target.xml</ProjectItem>
What I want is "Target.xml" to be MyProjectName.xml.
I know I can use variables inside the file but not in the name.
Thanks
G
The Microsoft documentation doesn't mention that you also have to modify the .proj file.
change to
Also, in the .vstemplate file, the ReplaceParameters attribute doesn't need to be changed to "true" if you're just changing the filename.