Visual Studio Template creation problem
-
I am trying to create a Visual Studio 2005 project template using the Export Template function. Everything goes well as long as I do not try to change the zip file produced. When I try to edit the .vstemplate file to customize the filenames, the template file is no longer recognized by VS2005. I'm not changing anything significant, so I'm pretty sure I didn't mess up the file format, but I have noticed the following things: 1. The zip file fails to unzip with 7Zip; it claims that the file is in an unknown archive format. 2. If I use the built in Windows compression tools to unzip the file, and then rezip it (Send to Compressed Folder), Visual Studio no longer recognizes the file, even when I leave the files themselves unchanged. Has anyone seen this happen before? What am I doing wrong? Thanks,
"We may not be the smartest in the world, but we're the smartest you've got." -a co-worker, speaking to our manager
-
I am trying to create a Visual Studio 2005 project template using the Export Template function. Everything goes well as long as I do not try to change the zip file produced. When I try to edit the .vstemplate file to customize the filenames, the template file is no longer recognized by VS2005. I'm not changing anything significant, so I'm pretty sure I didn't mess up the file format, but I have noticed the following things: 1. The zip file fails to unzip with 7Zip; it claims that the file is in an unknown archive format. 2. If I use the built in Windows compression tools to unzip the file, and then rezip it (Send to Compressed Folder), Visual Studio no longer recognizes the file, even when I leave the files themselves unchanged. Has anyone seen this happen before? What am I doing wrong? Thanks,
"We may not be the smartest in the world, but we're the smartest you've got." -a co-worker, speaking to our manager
OK. I foudn the problem and feel pretty stupid. I still don't know why 7Zip won't unzip the file, but the problem was that I was selecting the folder and sending it to a compressed folder. This created a zipfile with an extra layer of directories. Instead of the template files being in the root directory of the zip file, they were in a sub directory called MyTemplate (or whatever). Oh well. The 7Zip thing was throwing me off. I think I'll quit and go home now.
"We may not be the smartest in the world, but we're the smartest you've got." -a co-worker, speaking to our manager