找不到与phonegap Windows移动的CordovaStarter-x.x.x.zip [英] CordovaStarter-x.x.x.zip not found with phonegap for windows mobile
问题描述
我正在浏览 Windows入门指南 phone in phonegap(cordova)
我完成了
- 下载并安装Windows Phone SDK
- 下载Cordova的最新版本并解压缩其内容
下一步是
- * 将文件CordovaStarter-xxxzip复制到文件夹:\ My Documents \Visual Studio 2010 \Templates\ProjectTemplates *
我下载的cordova文件找不到zip文件。
CordovaStarter-x.x.x.zip是一个模板,从phonegap-windows开始。如果您下载的内容中缺少您可以创建的内容。
- 打开文件lib\windows-phone\templates\standalone \CordovaSolution.sln在Visual Studio Express for Windows Phone中
- 从文件菜单中选择导出模板...
- 选择模板类型'项目模板'
- 为导出的模板命名, CordovaStarter-2.1.0将生成CordovaStarter-2.1.0.zip
- (可选)您可以添加说明,图标图像和预览图像。这些是Visual Studio在新建项目对话框中显示的内容。
- 注意:如果选择('自动导入模板...'),请按 phonegap指南中所述复制.zip文件。
-
按[完成]
: - 并设定新专案: -
-
打开Visual Studio Express for Windows Phone并选择新项目。。 (版本号将显示在模板描述中)
-
注意:如果没有看到它,您可能需要选择顶级的'Visual C#
-
为您的专案命名,然后选择[确定]。
www文件夹包含您的Cordova html / js / css以及应用中包含的任何其他资源。 -
点击Windows Phone模拟器旁边的绿色播放按钮下拉菜单即可开始调试或按F5。
I was going through the getting started guide for windows phone in phonegap ( cordova )
and I completed
- Download and install Windows Phone SDK
- Download the latest copy of Cordova and extract its contents
The next step is
- *copy the file CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates*
I could not find the zip file with cordova, which I downloaded. Could anyone please help me out.
CordovaStarter-x.x.x.zip is a template , to start with phonegap-windows. If it is missing in your downloaded content you can create it.
- Open the file lib\windows-phone\templates\standalone\CordovaSolution.sln in Visual Studio Express for Windows Phone
- From the file menu, select 'Export Template...'
- Choose template type 'Project template'
- Give the exported template a name, ex. CordovaStarter-2.1.0 will produce CordovaStarter-2.1.0.zip
- Optionally, you may add a description, icon image, and Preview image. These are what is displayed in Visual Studio in the 'New Project' dialog.-
- Note: If you select ( 'Automatically import the template ... ') then you will not need to copy the .zip file over as outlined in the phonegap guide.
Press 'Finish'
:-And to set up a new project:-
Open Visual Studio Express for Windows Phone and choose New Project.
Select CordovaStarter. ( the version number will be displayed in the template description )
note: If you do not see it, you may have to select the top level 'Visual C#' to see it
Give your project a name, and select OK.
The 'www' folder contains your Cordova html/js/css and any other resources included in your app.
Hit the green play button beside the Windows Phone Emulator drop-down menu to start debugging or press F5.
这篇关于找不到与phonegap Windows移动的CordovaStarter-x.x.x.zip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!