With the release of Windows 8 Developer Preview back in September, Microsoft asked developers across the globe to start creating metro style apps for the new OS. With that, Microsoft also launched Windows 8 App Developers blog for all the information that was required to develop apps.
However,with the release of Consumer Preview, Microsoft made a considerable amount of changes, which certainly affected the apps which were build for Developer Preview. A new post on the Windows 8 Apps Developer blog sheds some light on this issue of migrating your apps which were build for Developer Preview to Consumer Preview. According to this post, by following some simple steps you can easily migrate your apps from Developer to Consumer Preview compatible.
John Sheehan, Partner Architect on the Windows Development team mentions these guidelines to follow:
- Create a new project in Visual Studio and pick the template that most closely resembles the UI of your existing app.
- If the new Item Templates support the contracts and features you need, like the File Picker contract or the Search contract, use them instead of trying to reuse your existing code.
- After you reconstruct the basic elements of your UI using the new templates, migrate your visual and audio assets from your old project into your new one. Limit the additional code you bring into the project to just be the custom business logic that was at the heart of your app.
- Finally, begin to stitch your new UI (structured with the new templates) to your visual and audio assets and to your back-end logic.
By following these steps, you’ll naturally incorporate many of the changes into your app’s code.
Lastly, he adds,
“This post is meant to get you started, but it only covers a small sample of the changes we’ve made to the development platform. As I suggested throughout the post take a look at //Build to Windows 8 Consumer Preview in the Dev Center to get detailed info on how to migrate your app to the Consumer Preview. “