Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Blank Cordova Project in VS 2015 CTP 6 for visual-studio-cordova

After installing the latest CTP 6 of Visual Studio 2015, I don't have the option to create a new Apache Cordova Multi Device project from the templates. Do I need to install something else? I believe I have all the dependencies checked during installation.

Thanks

like image 863
David Manske Avatar asked Feb 11 '23 20:02

David Manske


1 Answers

This issue will occur if you have installed VS to your non-system drive.

In that case you can workaround it by copying and merging the contents of the "~\Program Files\Microsoft Visual Studio 14.0\Common7\Ide\CommonExtensions\Microsoft\WebClient" folder from the standard install location on the system drive to your custom location, and then running "devenv /setup" from an elevated VS developer command prompt. This bug will be fixed in the next public release.

The issue will also occur if you have upgraded to CTP6 directly from CTP5, without first uninstalling CTP5.

In that case the workaround is:
1. Go to Control Panel, choose Repair on Tools for Apache Cordova MSI. Repair MSI

  1. Verify that C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplates\JavaScript\Apache Cordova Apps\1033\blankCordovaJS is populated.
  2. From elevated developer command prompts run devenv /setup Command prompt

Open VS and your Cordova project template is back.

like image 130
Ellen Avatar answered Apr 30 '23 06:04

Ellen