Unable to Start/Run Apache Cordova project in Visual Studio 2015

670 views Asked by At

I created a new Apache Cordova project in Visual Studio 2015. I'm able to build successfully and I have cordova installed and the visual studio android emulators as well. But when I click start or click F5 it shows the message: "unable to start debugging. the startup project could not be launched. The startup project can be changed by selecting 'set as startup project' command from right click in the menu explorer. Additionally make sure its debug settings are correctly configured in project properties". What can I do to solve this issue??

My startup project is setup correctly. I also won't give me the option to select the emulator when i click the down arrow next to start. Please help

1

There are 1 answers

7
Ismael LR On BEST ANSWER

Ok so the way I got it working is by doing this:

  1. Close all VS instances
  2. go to C:\Users{username}\AppData\Local\Microsoft\Phone Tools
  3. rename CoreCon folder to CoreCon2
  4. Launch VS again.