title: How to Extract the Version Number from an MSDeploy Package?
body: <p>Is it possible to extract the <strong>version number</strong> from an ASP.NET MVC 4.0 Web application's <strong>MSDeploy</strong> generated package?</p>
  
  <p>One method to determine the version number dynamically is to use reflection as shown below but this requires the application to have been installed on the server. </p>
  
  <pre><code>System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()
  </code></pre>
  
  <p>I need to source the version number directly from the MSDeploy package.</p>
  
  <p>Thanks,<br>
  F.</p>