当我们使用 JavaScript 创建 Metro 应用程序时,Visual Studio 11 Ultimate 中的 JS 文件在哪里
我有 Visual Studio 11 Ultimate,我正在尝试使用 JavaScript 开发 Metro 风格的示例应用程序。
我的问题是在我在互联网上得到的每个例子中都说我需要引用一组java脚本文件来获取winJS功能和metro风格(如绑定.js,res.js,animations.js)..以及所有这些示例是使用 VS 11 Express Edition 制作的。
我知道快捷版会自动添加这些引用.. 但我用的是VS11 Ultimate。它只引用两个 .js 文件(base.js 和 ui.js)。我如何从 Ultimate 获取其他 js 文件...或者我应该转向 Express 版本以获得所有功能?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当他们将 WinJS 库从开发人员预览版更新到更高版本时,您正在查看的示例已过时。他们将所有 javascript 库移至 2 个文件中:base.js 和 ui.js,但示例仍然引用旧的 WinJS 库。
由于现在是 Consumer Preview,您可能应该查看 http ://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples
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