I am having issues in my Windows 8 application, because of this issue:
https://github.com/winjs/winjs/issues/146
This is a strange race condition that was fixed by @rigdern in this commit:
https://github.com/winjs/winjs/commit/dbc7a96d53bbed9d68471d1b6a84b7a130e7dfec
In my Windows 8 application project, I have a reference to:
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\Microsoft.WinJS.2.0\1.0\
And ui.js is currently located in:
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\Microsoft.WinJS.2.0\1.0\DesignTime\CommonConfiguration\neutral\Microsoft.WinJS.2.0\js\ui.js
With this link (https://github.com/winjs/winjs/releases/download/release%2F4.0.0-preview/winjs.zip) I can get all the files for WinJS 4.0-preview but how exactly am I supposed to use this?
Should I monkey patch what's in Program Files so that the new files will be packaged?
Should I remove the reference to WinJS 2.0 from my project and include the downloaded WinJS 4.0 files in my project directly and reference them in my head tags? Will that even work or does Visual Studio need to have a WinJS reference to be able to package my
application?
That said, you should be able to include the new files and change the references in your head tags to the new version. Beware though that there may be some other breaking changes you'll need to deal with.