The 'ApacheCordovaToolsPackage' package di

2019-06-20 16:54发布

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条回答
乱世女痞
2楼-- · 2019-06-20 17:23

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.

查看更多
登录 后发表回答