title: Getting Application Version Windows Phone 8
body: <p>I'm following the sample code on MSDN (<a href="http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.package.id.aspx">http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.package.id.aspx</a>) to get the current application version in C# </p>
  
  <pre><code> string buildVersion = Package.Current.Id.Version.Build.ToString();
  </code></pre>
  
  <p>but it gives me the following error:</p>
  
  <pre><code>'Windows.ApplicationModel.Package.Current.Id' threw an exception of type 'System.NotImplementedException'
  </code></pre>
  
  <p>anyone know how I can get the app version number?</p>