Go Back   Velocity Reviews > Newsgroups > DotNet
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

DotNet - How do you create VS templates manually?

 
Thread Tools Search this Thread
Old 10-01-2009, 04:36 PM   #1
Default How do you create VS templates manually?


Howdy All,

How does one create VS template ZIP files manually?

If I use the Export Template feature in VS, it gives me the ZIP file
which contains my template files plus a .vstemplate file with some
setup information.

I would like to edit the .vstemplate file to include different
substitution parameters in the project name or file names. I can
extract this file, edit it at will, but I am unable to get it back
into the ZIP file. It fails with an error of "Invalid or unsupported
ZIP file format."

If I try to just create my own ZIP file using either Windows
Compressed Folders or WinZip, then VS is unable to open it.

Is there a command line or some other tool I can use to create VS
templates?

Thank you in advance,
Matthew


Matthew
  Reply With Quote
Old 10-12-2009, 04:09 PM   #2
Gregory A. Beamer
 
Posts: n/a
Default Re: How do you create VS templates manually?
Matthew <> wrote in news:3a84aae6-bce6-4077-bef9-
:

> How does one create VS template ZIP files manually?


I suspect there is some type of checksum of the zip file which is
invalidated when you manually edit the template. If it were me, I would
look for the tooling bits in the Framework and see how MS is packaging
the zip file to see what step you are missing when you manually edit the
file for different scenarios.

I would imagine keeping the raw files out of a zip until you compile it
for the custom implementation is the sanest approach.

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************


Gregory A. Beamer
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to burn copy CD/DVD and create Data/Audio/Video Disc? dvdloveri Software 6 07-27-2009 07:58 AM
how to create os image in same drive using symantech ghost 11. manojgj Hardware 0 02-28-2008 08:47 AM
There Is A Program To Easily Create Auction Templates? robinhood General Help Related Topics 0 09-26-2007 03:09 PM
Press Release - Visual CertExam Suite Makes It Easy to Create and Take Professional Practice Tests David Johnson A+ Certification 0 10-19-2004 05:03 PM
what do i need to write DVDs? Marcellus Wallace DVD Video 91 12-02-2003 02:55 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46