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