The 'ApacheCordovaToolsPackage' package did not load correctly

蓝咒 提交于 2019-12-10 15:17:11

问题


I just installed VS 2015 Professional and Tried to install Visual Studio Tools for Apache Cordova, it completed successfully. However, when I try to get to create a new Project for the same, it just gets stuck there.

Then if I open a new instance of VS 2015 and go to Tools --> Options --> Apache Cordova, I get following error message:

---------------------------
Microsoft Visual Studio
---------------------------
The 'ApacheCordovaToolsPackage' package did not load correctly.

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\Anant\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.

Restarting Visual Studio could help resolve this issue.

Continue to show this error message?
---------------------------
Yes No
---------------------------

I tried repair and uninstalling and reinstalling as well. But no luck.

Any thoughts/suggestions?


回答1:


Sorry to hear about you're trouble. I suspect you are hitting a known issue which we have fixed and documented here:

https://support.microsoft.com/en-us/kb/3025135

Can you try the following workaround steps to see if it fixes the issue?

If the Tools for Universal Windows Apps Development are still installed:

  1. Go to Programs and Features, select Visual Studio 2015, click Change.
  2. In Visual Studio setup, click Modify.
  3. Deselect the feature Tools for Universal Windows App Development.
  4. Select Tools for Universal Windows App Development again, and click Update.

If you have already uninstalled the Tools for Universal Windows Apps Development:

  1. Reinstall Tools for Universal Windows App Development.
  2. Or, take the following steps to reinstall the JavaScript project system and language service:

    • Download the installer for your edition of Visual Studio, such as, vs_community.exe.
    • Open a command window, and run the following command: vs_community.exe /modify /installselectableitems JavaScript_Hidden /passive

Hope that helps. If not, I would very much like to see the xml log. Please email vscordovatools@microsoft.com so we can get in touch.



来源:https://stackoverflow.com/questions/31945352/the-apachecordovatoolspackage-package-did-not-load-correctly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!