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

查看:196
本文介绍了当我们使用JavaScript创建Metro应用程序时,Visual Studio 11 Ultimate中的JS文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Visual Studio 11 Ultimate,我正在尝试使用JavaScript开发Metro风格的示例应用程序。



我的问题在于我在互联网上获得的每个例子说我需要引用一组java脚本文件来获取winJS功能和metro风格(如binding.js,res.js,animations.js)..所有这些样本都是使用VS 11 Express Edition制作的。



我明白快递版会自动添加这些参考资料..
但我使用的是VS11 Ultimate。而且它只引用了两个.js文件(base.js和ui.js)。如何从终极获取其他js文件......或者我应该转移到快递版以获得所有功能?


当您将WinJS库从Developer Preview更新到更新版本时,您正在查看的示例已过时。他们将所有的JavaScript库移动到2个文件base.js和ui.js中,但示例仍然指向旧的WinJS库。



因为它现在是Consumer Preview,你应该看看 http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples


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天全站免登陆