我刚刚安装了 VS 2015 Professional 并尝试安装 Visual Studio Tools for Apache Cordova,它成功完成。
但是,当我尝试为其创建一个新项目时,它会卡在那里。
然后,如果我打开 VS 2015 的新实例并转到工具 --> 选项 --> Apache Cordova,我会收到以下错误消息:
---------------------------
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
---------------------------
我也尝试修复和卸载并重新安装。但没有运气。
有什么想法/建议吗?
最佳答案
很抱歉听到你有麻烦。我怀疑您遇到了我们已在此处修复并记录的已知问题:
https://support.microsoft.com/en-us/kb/3025135
您可以尝试以下解决方法步骤,看看它是否能解决问题吗?
如果仍然安装了通用 Windows 应用程序开发工具:
如果您已经卸载了通用 Windows 应用程序开发工具:
vs_community.exe/modify/installselectableitems JavaScript_Hidden/passive
希望有帮助。如果没有,我很想看看xml日志。请发送电子邮件至 vscordovatools@microsoft.com,以便我们与您取得联系。
关于visual-studio - 'ApacheCordovaToolsPackage' 包没有正确加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31945352/