I am working on creating a custom project template with Visual Studio 2008 Team System edition. I have also created a custom wizard for the custom template.
So I ha
It looks like Visual Studio creates non-standard ZIP files. My solution was to unzip the template zip file generated by VS, and then re-zip the files with WinZip.
You say VS2008 cant access all the files in the template when you do this, but here at least the resulting zip file didn't cause any problems for VS2008.
You don't need to modify the contents of the archive to be flat.
The trick is after editing the unzipped contents of the archive, instead of selecting the folder and zipping that, open the folder and select all the files (and folders if present), and zip those instead.
This is what is preventing Visual Studio from recognizing the archive as a template. This should work with 7-Zip, WinRAR, or whatever you happen to prefer to the bloatware that is WinZip.
Same problem here. I solved it by using <ProjectItem>MyFolder\MyFile.cs</ProjectItem>
instead of <Folder>...<Folder>
.
PS: TargetFileName doesn't work for me in VS2008 + Windows7.