在没有 Visual Studio 的情况下创建 Windows 8 Metro 应用程序 (HTML5) [英] Creating Windows 8 Metro app (HTML5) without Visual Studio

查看:25
本文介绍了在没有 Visual Studio 的情况下创建 Windows 8 Metro 应用程序 (HTML5)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这可能是一个愚蠢的问题,但有没有什么方法可以在不使用 Visual Studio 的情况下构建 Windows 8 Metro 应用程序 (HTML5)?据我了解,html5 Metro 应用程序由典型的 Web 文件(html/js/css/images)和清单文件组成.是否可以简单地压缩包含所需文件的目录并将其用作应用程序?还是我走远了?

I know this might be a stupid question but is there any way to build a Windows 8 Metro app (HTML5) without using Visual Studio? As I have understod it, an html5 metro app consists out of typical web files (html/js/css/images) and a manifest file. Is it possible to simply zip a directory with the required files and use that as an application? Or am I way off?

最好的问候维克

推荐答案

有关可用于打包和部署应用程序,然后从开始"屏幕运行它的 PowerShell 脚本的信息,可在 http://social.msdn.microsoft.com/Forums/zh-CN/toolsforwinapps/thread/5013262a-2a18-4ce6-99d1-03451d6c9619.问题是这不会让你在调试方面走得很远,这是像 VS 这样的工具的最大价值之一.(别忘了 Blend……一个出色的 CSS 样式设置和调试工具).

Information on the PowerShell scripts you can use to package and deploy an app, then run it from the Start screen, can be found on http://social.msdn.microsoft.com/Forums/en-US/toolsforwinapps/thread/5013262a-2a18-4ce6-99d1-03451d6c9619. The problem is that this won't get you very far with debugging, which is one of the greatest values of a tool like VS. (And don't forget Blend...an excellent tool for styling and debugging CSS).

我听说人们确实被 VS(包括我自己)吓到了,但是 Win8 的 Express 版本使用起来很简单,而用于 JS、WinJS 和 WinRT 的 IntelliSense 非常有用.我提到调试了吗?

I've heard that people do get scared off by VS (myself included), but the Express edition for Win8 is straightforward to use, and the IntelliSense you get for JS, WinJS, and WinRT is exceptionally helpful. And did I mention debugging?

老实说,当我们在 2010 年 12 月第一次能够编写 Metro 风格的应用程序时,我们只有 PowerShell 脚本来完成所有这些工作,而且实际上是在记事本中编写代码.这真是太痛苦了……不得不在浏览器中使用 F12 工具调试 HTML 和脚本,但是你不能使用 WinRT API.VS 逐渐变得越来越好,值得花一些时间学习以代替其他 IDE 可用于 Win8 平台.

Honestly, when we were first able to write Metro style apps at all in Dec 2010, we only had the PowerShell scripts to do all of this, and did, in fact, write code in Notepad. It was utterly painful...had to debug HTML and script in a browser with F12 tools, but then you couldn't use WinRT APIs. Gradually VS got better and better and it's simply worth spending some time learning in lieu of other IDEs becoming available for the Win8 platform.

这篇关于在没有 Visual Studio 的情况下创建 Windows 8 Metro 应用程序 (HTML5)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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