I used Visual Studio 2015 to develop mobile app with Cordova. Before I upgraded to Windows10, I was using Windows 7 and it worked perfectly fine. After I've upgraded to Windows10, whenever I open a Cordova project or create a Cordova project the Visual Studio hangs (not responding).
I have tried to reinstall the Visual Studio but it still hangs.
Anyone has faced this problem before?
Thanks
Open the Project in Visual Studio CodeClick on the debug icon in the sidebar or CMD+SHIFT+D , then click on the gear icon next to the debug button in the upper left side and select Cordova.
You can use the Cordova Tools for Visual Studio Code extension (which provides support for the latest version of Cordova) or continue using Visual Studio 2017.
With our Cordova Tools Extension for Visual Studio Code, you can use your existing web skills to build cross-platform hybrid mobile applications for iOS, Android, and other platforms. This means that you can create and maintain one project to target millions of potential customers using various mobile devices.
Here is the solution for this problem in VS 2015. This issue if you have Windows 10 and latest updates in VS 2015 including latest type script installation.
1) Open command prompt as administrator.
2) Navigate to the following folder path:
cd "C:\ProgramData\Package Cache"
3) write the following command to find out vs_edition.exe file:
dir vs*exe /s /b
4) copy the full path that contains your vs edition exe from the screen.
5) write the following command:
"C:\ProgramData\Package Cache\{GUID}\vs_enterprise.exe" /modify /installselectableitems Javascript
6) VS installer will start, click on modify and then update. no need to change any features selection.
7) Wait until the installer finishes.
8) From the command prompt, navigate to the following folder:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
9) Run the following commands:
devenv /updateconfiguration
devenv /clearcache
Below screenshot shows the full commands set.
Now, you will be able to open VS 2015 and create cordova apps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With