Sunday, June 17, 2012 1:28 AM
I'm having a really difficult time figuring out the proper steps to porting over my code from Consumer Preview to Release Preview.
1. I noticed that now if I create a new project in VS, directory structure is quite different than it was in Consumer Preview. Should I be creating a new project and then file by file, try to copy my code into the new files that were generated? For example (my app is written in HTML5/JS/CSS and is a grid app) should I be manually going into groupDetail.css, groupDetail.js and groupDetail.html and copying my code into them from groupDetailPage.css, groupDetailPage.js and groupDetailPage.html respectively?
Or should I be opening the project I have saved from Consumer Preview in VS and keep trying to launch the app and trying to fix the issues that come up one at a time?
2. In the document "Migrating your Windows 8 Consumer Preview app to Windows 8 Release Preview" - There are 5 high level steps listed near the beginning.Step 1 – Migrate your Microsoft Visual Studio project.
Step 2 – Migrate your app manifest.
Step 3 – Fix compiler errors caused by the breaking changes, by referring to this document.
Step 4 – Review breaking changes in the namespaces that you use and make updates as necessary.
Step 5 - Review the Windows Store API changes and make updates as needed.
Are there detailed steps for step 1 and 2 somewhere? How do I exactly "migrate" my VS project (step 1) and my app manifest (step 2)?
Help is much appreciated! I can no longer run my app in the Release Preview :(
Sunday, June 17, 2012 2:00 PMI don't think there is a "right way" to do the migration. My approach was to start with a new template from the Release Preview and copy and paste code blocks from the old version paying attention to the "plumbing changes". It is helpful if you can to build up the application in pieces and test along the way.
Monday, June 18, 2012 1:54 PMModerator
No there are no detailed instructions for Step 1 and Step 2. This is highly dependent on your code and project.
Jeff Sanders (MSFT)