CordovaStarter-x.x.x.zip not found with phonegap for windows mobile

后端 未结 2 1730
谎友^
谎友^ 2021-01-13 19:08

I was going through the getting started guide for windows phone in phonegap ( cordova )

and I completed

  • Download and install Windows Phone SDK
2条回答
  •  一整个雨季
    2021-01-13 19:59

    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.

提交回复
热议问题