Hi

 

Snippets are used by Visual Studio to insert chunks of template code (or XML in this case).  You activate a snippet using the editor context menu – select Insert Snippet or Surround with.  Or you can type things like (in C#) prop[TAB][TAB] which will insert a property template.

 

Snippets have placeholders for variable text which you can overwrite when you insert them.  Best thing is to try it out and see what it does.

 

Snippets are simple XML files but I used a tool called Snippy (from GotDotNet) which makes the task considerably easier.  You import snippets into VS using the Snippet Manager under the Tools menu.

 

HTH

 

Cheers

 

From: Simon Burgess [mailto:[EMAIL PROTECTED]
Sent: Monday, 5 June 2006 3:51 a.m.
To: Jones, Peter (TPK)
Subject: RE: [WiX-users] Payback - Snippets

 

Hi

I’ve been searching through my wix-users emails as I’m trying to find help with a way I can build my VS2005 solution in the IDE and also output my msi with wix at the same time…. and came across your email. Could you just shed a bit of light on what you have posted here and I’m not sure what these snippets are for exactly

 

Many thanks

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jones, Peter (TPK)
Sent: 26 May 2006 04:34
To: WiX-users
Subject: [WiX-users] Payback - Snippets

 

As a way of returning some value back to this community I’ve started to compile a  bunch of Wix code snippet for Visual Studio.   I’ve attached the few that I’ve done so far based on my own very limited experience and use of Wix.

 

Perhaps someone already has a snippet library with more than I have done – in which case you are welcome to my humble contribution.  If not, then I’m more than happy to act as librarian for these if anyone else has more they would like to send me.  If the feedback is sufficient then I’ll setup a download site somewhere or perhaps it can go on the SF site.  I’ll also post these to my blog site (http://jonesie.net.nz).

 

Cheers

**********************************************************************

This electronic message together with any attachments is confidential. If

you receive it in error: (i) you must not use, disclose, copy or retain

it; (ii) please contact the sender immediately by reply email and then

delete the emails. Views expressed in this email may not be those of the

Airways Corporation of New Zealand Limited

**********************************************************************

 

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to