Ibraheem Osama Mohamed (ابراهيم اسامه محمد)

Welcome to my blog :)

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

leave a comment »

Once I started to develop a JavaScript application I downloaded some samples to take an overlook about implementing application in JavaScript and then I got this
How to resolve and make the application run again
1)Remove the old WinJs reference. (the yellow triangle)

2)Add a reference to the new WinJs.

3)After adding the reference you will notice that the yellow triangle is removed

4)If you run the application now you’ll get this error ‘WinJS’ is undefined

5)Now open the defalt.html and remove the following

<!– WinJS references –>

    <link href=”//Microsoft.WinJS.0.6/css/ui-dark.css”rel=”stylesheet”>

    <script src=”//Microsoft.WinJS.0.6/js/base.js”></script>

    <script src=”//Microsoft.WinJS.0.6/js/ui.js”></script>

6)And add this follwing WinJs references (I brought this references by creating new Metro JavaScript project then open default.html you’ll find the latest WinJs reference or the one compatible with your execution environment)

<!– 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>

7)Run the application now and it’ll work.

Ibraheem Osama Mohamed


Written by Ibraheem Osama Mohamed

September 1, 2012 at 4:05 pm

Posted in html, javascript, Windows8

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: