andrew4582

Assembly Version Snippet

Aug 15th, 2010
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.35 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <CodeSnippets  xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  3.       <CodeSnippet Format="1.0.0">
  4.             <Header>
  5.                   <Title>AH version</Title>
  6.                   <Shortcut>ahversion</Shortcut>
  7.                   <Description>Code snippet created on: 12/29/2009 10:11:05 PM</Description>
  8.                   <Author>Andrew Hodgson</Author>
  9.                   <SnippetTypes>
  10.                         <SnippetType>Expansion</SnippetType>
  11.                   </SnippetTypes>
  12.             </Header>
  13.             <Snippet>
  14.                   <Declarations>
  15.                         <Literal>
  16.                               <ID>type</ID>
  17.                               <ToolTip>Property type</ToolTip>
  18.                               <Default>string</Default>
  19.                         </Literal>
  20.                         <Literal>
  21.                               <ID>property</ID>
  22.                               <ToolTip>Property name</ToolTip>
  23.                               <Default>MyProperty</Default>
  24.                         </Literal>
  25.                   </Declarations>
  26.                   <Code Language="csharp">
  27.                         <![CDATA[Assembly.GetExecutingAssembly().GetName().Version.ToString();$end$]]>
  28.                   </Code>
  29.             </Snippet>
  30.       </CodeSnippet>
  31. </CodeSnippets>
Advertisement
Add Comment
Please, Sign In to add comment