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

编程入门 行业动态 更新时间:2024-10-07 02:31:36
本文介绍了当我们使用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,你应该看看 code.msdn.microsoft/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 code.msdn.microsoft/windowsapps/Windows-8-Modern-Style-App-Samples

更多推荐

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

本文发布于:2023-11-13 02:54:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583230.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:当我们   应用程序   文件   Metro   JavaScript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!