当我们使用 JavaScript 创建 Metro 应用程序时,Visual Studio 11 Ultimate 中的 JS 文件在哪里

I have Visual Studio 11 Ultimate and I am trying to develop sample application in Metro style using JavaScript.

My problem is in every example that I am getting in internet saying that I need to reference to a group of java script file to get winJS functionalities and metro style ( like binding.js,res.js,animations.js) .. And all those samples are made using VS 11 Express Edition .

I understood that express edition automatically add those references .. But I am using VS11 Ultimate. And it's only referencing two .js files (base.js and ui.js) .How do i get other js files from ultimate... or should i shift to express edition to get all functionalities?

解决方案

The samples you were looking at are obsoleted when they updated their WinJS library from Developer Preview to later version. They move all their javascript library into 2 files, base.js and ui.js, but the samples were still referring to the old WinJS library.

As it is now Consumer Preview, you should probably look at http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples

相关文章