问题
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:
- Go to Programs and Features, select Visual Studio 2015, click Change.
- In Visual Studio setup, click Modify.
- Deselect the feature Tools for Universal Windows App Development.
- Select Tools for Universal Windows App Development again, and click Update.
If you have already uninstalled the Tools for Universal Windows Apps Development:
- Reinstall Tools for Universal Windows App Development.
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