Home > English > Upgrading Windows 8 HTML5 code from RP to RTM

Upgrading Windows 8 HTML5 code from RP to RTM

If you have played with any code targeted for Windows 8 Release Preview (RP) and you want it to run using the RTM version, you run into the following error:

Could not find SDK “Microsoft.WinJS.1.0.RC, Version=1.0”.

The solution to this error is actually very simple.  You need to do two things in order to get your code to work:

  • You will need to replace the WinJS reference to the 1.0 version.  First remove the old reference that is shown below:

 

Next add the RTM version reference as shown below:

 

  • Next you will need to globally changes all your JavaScript references in your HTML files as shown below:

 

As you can see your references are now adjusted correctly:

 

Now if you find some examples that haven’t been converted to Windows 8 RTM, you can still get them to work.

Hope this helps….

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: