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

查看:101
本文介绍了在没有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脚本上的信息,可用于打包和部署应用程序,然后在开始"屏幕上运行它,可在

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逐渐变得越来越好,花一些时间来代替Win8平台上可用的其他IDE完全值得.

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