title: How can I capture the Package Version of a Dot Net Core assembly in startup code?
body: <p>I know that all Dot Net Core projects get marked with a package version tag that appears in the CSProj file, like this:</p>
  
  <pre><code>&lt;PropertyGroup&gt;
  &lt;TargetFramework&gt;netcoreapp2.0&lt;/TargetFramework&gt;
  &lt;StartupObject&gt;MY.Program&lt;/StartupObject&gt;
  &lt;TypeScriptToolsVersion&gt;2.5&lt;/TypeScriptToolsVersion&gt;
  &lt;AssemblyName&gt;MY.PCA&lt;/AssemblyName&gt;
  &lt;AutoGenerateBindingRedirects&gt;true&lt;/AutoGenerateBindingRedirects&gt;
  &lt;Version&gt;1.2.0&lt;/Version&gt;
  &lt;/PropertyGroup&gt;
  </code></pre>
  
  <p>Is there a way to get access to that Version number field at Runtime? Namely in the Startup routines found in Startup.cs?</p>