Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

DZone's Guide to

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

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

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.

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:

Published at DZone with permission of Michael Crump. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}