There are four steps you must go through to upgrade an application:
- Remove Microsoft Visual Studio references to the previous Microsoft WinJS library.
- Update WinJS references in the Visual Studio References Manager.
- Replace any URI references from "//Microsoft.WinJS.1.0.RC" to "//Microsoft.WinJS.1.0".
- Adjust your code to fix errors resulting from breaking changes.
- Build and test your app.
Important A full list of breaking changes from Windows 8 Release Preview to Windows 8 is outside the scope of this document. We recommend that you review the app compatibility migration document for a full list of changes.
To complete this tutorial, you must have a computer running Windows 8 and Microsoft Visual Studio Express 2012 for Windows 8. For more info, see Getting started with Windows Store apps.
- In Microsoft Visual Studio 2012, open your app.
- Update your references. In Solution Explorer, expand the References folder and delete the Microsoft.WinJS reference. The following illustration shows an example of the reference in Solution Explorer.
- Right-click on the References folder and choose Add Reference.
- Click OK.
- Search your entire solution for "//Microsoft.WinJS.1.0.RC" and replace it with "//Microsoft.WinJS.1.0".
- Select Build > Build Solution to build your application.
Once you’ve updated your app to work with the Windows 8, you may want to consider packaging your application and deploying it to the Windows Store. For more info, see Packaging your app using Visual Studio 2012.
Build date: 11/27/2012