Upgrade Windows 8 HTML/JS from RC to RTM

Working on my Windows 8 HTML/JS application I got the bright idea over the weekend to upgrade to Windows 8 RTM so I could take advantage of Visual Studio 2012 RTM.  Not much of a surprise that there was one breaking change to my app (I am more impressed that it looks like there is only one).

First thing you need to do is swap out these two references

  • Microsoft.WinJS.1.0.RC  — for
  • Windows.Library for JavaScript 1.0

Windows8HTMLjs

  • Once Microsoft.WinJS.1.0.RC
  • Do a Search and Replace all references of the RC release:
<!-- WinJS references -->
<link href="//Microsoft.WinJS.1.0.RC/css/ui-dark.css" rel="stylesheet" />
<script src="//Microsoft.WinJS.1.0.RC/js/base.js"></script>
<script src="//Microsoft.WinJS.1.0.RC/js/ui.js"></script>
  • This should be what it looks like now.
<!-- WinJS references -->
<link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
<script src="//Microsoft.WinJS.1.0/js/base.js"></script>
<script src="//Microsoft.WinJS.1.0/js/ui.js"></script>
Advertisements
This entry was posted in Windows, WinRT and tagged , , . Bookmark the permalink.