title: Get Assembly version on windows phone 7
body: <p>In my c# applications I usually get the version (to show the customer) using the following code:</p>
  
  <pre><code>System.Reflection.Assembly.GetExecutingAssembly().GetName().Version
  </code></pre>
  
  <p>This does not work in Windows Phone 7 (it hangs the emulator, and phone crashing is a no-no for MS).</p>
  
  <p>So, how do I get the version of the executing on a windows phone 7 device??</p>
  
  <p>[Update] as noted in the comments below, calling GetName() in a wp7 app seems to be the problem.</p>