Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Visual Studio Template creation problem

Visual Studio Template creation problem

Scheduled Pinned Locked Moved IT & Infrastructure
csharpvisual-studiotoolshelpquestion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    melchizedek
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • M melchizedek

      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

      M Offline
      M Offline
      melchizedek
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups