问题描述
我使用Visual Studio 2015使用Cordova开发移动应用程序。在我升级到Windows10之前,我使用Windows 7,它工作完美。在我升级到Windows10后,每当我打开一个Cordova项目或创建一个Cordova项目Visual Studio挂起(不响应)。
我试图重新安装Visual
以前遇到过这个问题?
感谢
这里是VS 2015中这个问题的解决方案。如果你有Windows 10和最新更新在VS 2015包括最新类型的脚本安装。 / p>
1)以管理员身份打开命令提示符。
2)导航到以下文件夹路径:
cdC:\ProgramData\Package Cache
3)编写以下命令以查找 vs_edition.exe 文件:
dir vs * exe / s / b
4)
5)请输入以下命令:
code>C:\ProgramData\Package Cache\ {GUID} \vs_enterprise.exe/ modify / installselectableitems Javascript
6)VS安装程序将启动,单击修改然后更新。无需更改任何功能选择。
7)等待安装程序完成。
命令提示符,导航到以下文件夹:
C:\Program文件(x86)\ Microsoft Visual Studio 14.0 \Common7\IDE
9)运行以下命令:
devenv / updateconfiguration
devenv / clearcache
下面的屏幕截图显示了完整的命令集。
现在,您将可以打开VS 2015并创建cordova应用程序。 / p>
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
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.
这篇关于创建/打开Cordova项目时,Visual Studio 2015挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!