当我们使用 JavaScript 创建 Metro 应用程序时,Visual Studio 11 Ultimate 中的 JS 文件在哪里 [英] where are the JS files in Visual Studio 11 Ultimate when we create Metro apps using JavaScript

查看:28
本文介绍了当我们使用 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

这篇关于当我们使用 JavaScript 创建 Metro 应用程序时,Visual Studio 11 Ultimate 中的 JS 文件在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆