Mobile Zone is brought to you in partnership with:

Michael Crump is a Microsoft MVP, INETA Community Champion, and an author of several .NET Framework eBooks. He speaks at a variety of conferences and has written dozens of articles on .NET development. He currently works at Telerik with a focus on our XAML control suite.
You can visit his blog at: MichaelCrump.Net or follow him on Twitter at: @mbcrump

Michael is a DZone MVB and is not an employee of DZone and has posted 76 posts at DZone. You can read more from them at their website. View Full User Profile

Common Error When Upgrading Windows 8 Apps From VS2012 RC to RTM

08.20.2012
| 1235 views |
  • submit to reddit

Introduction

I’ve been upgrading some of my applications from VS2012 RC to RTM and have encountered the following error multiple times.

image

As you can see from the screenshot, the Package.appxmanifest just needs a quick update. Unfortunately, you cannot change these values through the User Interface. You can fix this easily by right-clicking on the Package.appxmanifest and opening it with an XML editor like shown below:

SNAGHTML9b9de4

Scroll down to the section called “Prerequisites” and change it to look like the following:

<Prerequisites>
  <OSMinVersion>6.2.1</OSMinVersion>
  <OSMaxVersionTested>6.2.1</OSMaxVersionTested>
</Prerequisites>
That is it. I hope this helps. 

Wrap-up

Thanks for reading! You can download the Windows 8 Release Preview and VS2012 RC here if you don’t have access to the RTM bits yet. I’d also suggest checking out Telerik’s RadControls for Metro for some great Windows 8 components. If you have any questions or comments, then please leave them below.

Published at DZone with permission of Michael Crump, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)