title: Set git commit hash as dll version number in visual studio
body: <p>I'm developing a project using visual studio 2013 and git.</p>
  
  <p>I must distribute some libraries of the project so I'd like to set their version number with the current git commit hash, so I can be sure of which library version they are using.</p>
  
  <p>Is there a way to put the hash as version number in automated way, I.e. with a pre-build event, instead of doing it manually every time?</p>